Template:Box-shadow

From Epic Path
Jump to navigation Jump to search

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)