Template:Box-shadow: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>box-shadow: {{{1|4px}}} {{{2|4px}}} {{{3|4px}}} {{{4|#8c775c}}};</includeonly><noinclude> '''Usage:''' <pre> {{box-shadow|4px|4px|4px|#8c775c}} </pre> '''Example...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>box-shadow: {{{1|4px}}} {{{2|4px}}} {{{3|4px}}} {{{4|#8c775c}}};</includeonly><noinclude> | <includeonly>box-shadow: {{{1|4px}}} {{{2|4px}}} {{{3|4px}}} {{{4|#8c775c}}};</includeonly><noinclude> | ||
Applies a drop shadow in the shape of a box around a block of text, or a table. This is used by default on the ep-default and ep-default2 class of tables. | |||
'''Usage:''' | '''Usage:''' | ||
<pre> | <pre> |
Latest revision as of 21:50, 2 April 2019
Applies a drop shadow in the shape of a box around a block of text, or a table. This is used by default on the ep-default and ep-default2 class of tables.
Usage:
{{box-shadow|4px|4px|4px|#8c775c}}
Example:
<div style="background-color: #FFFFDD; border: 1px solid #808000; padding: 5px; {{box-shadow}}">Lorem ipsum...</div>
- parameter 1: x-offset (default is 4px)
- parameter 2: y-offset (default is 4px)
- parameter 3: blur radius (default is 4px)
- parameter 4: shadow color (default is #8c775c)