- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Boxshadow: Difference between revisions
Jump to navigation
Jump to search
imported>TabbyGarf 1 revision imported |
m Text replacement - "|{{PAGENAME}}]]" to "]]" Tags: Mobile edit Mobile web edit |
||
| Line 18: | Line 18: | ||
<div style="{{boxshadow|4px|8px|0|8px|gray}}background-color:red;width:200px;height:200px;">Hello, world!</div> | <div style="{{boxshadow|4px|8px|0|8px|gray}}background-color:red;width:200px;height:200px;">Hello, world!</div> | ||
[[Category:Formatting Templates | [[Category:Formatting Templates]] | ||
[[Category:Templates/rarely used | [[Category:Templates/rarely used]]</noinclude> | ||
Latest revision as of 01:32, 11 January 2026
Usage
{{boxshadow|horiz|vert|blur|spread|color}}
Example
This:
<div style="{{boxshadow|4px|8px|8px|8px|gray}}background-color:blue;width:200px;height:200px;">Hello, world!</div>
<br />
<div style="{{boxshadow|4px|8px|0|8px|gray}}background-color:red;width:200px;height:200px;">Hello, world!</div>
Produces:
Hello, world!
Hello, world!