Template:GlowBox
From Soft Cell Wiki
- Description
- This template is used in the "style" part of the <div> tag. It adds styles for creating a "neon box" decoration for the block, defining its colors via template's parameters. It's firstly used on templates for Main Page.
- Usage
- Type (inside
style=""
){{MainBox|border color|glow color|secondary glow color}}
- Note that colors should be only in HEX code format (without
#
). - Secondary glow color can be same as primary, for higher intensity.
- Sample outputs
- Code:
<div style="{{MainBox|FFF|FF0000|F40CA9}}">Example</div> <div style="{{MainBox|000000|8800E8|8389E0}} font-size: 150%; margin: 10px 70px; text-align: center;">Example</div>
- gives ...
Example
Example