Template:Box-shadow/doc
Jump to navigation
Jump to search
This template is a shortcut for producing shadows. It generates the CSS for various browsers. Supported browsers are the current versions of Opera, Firefox, Safari, Chrome, and Internet Explorer.
Usage
Insert this template within a style tag of any element:
{{box-shadow | X-offset | Y-offset | blur radius | #color}}
- Template:Para and Template:Para – specify the offset of the shadow to the right and below the element. Use negative values for a shadow to the left and above. Default is
4px
. - Template:Para – specify the width of blurring added to the shadow border. Default is
4px
. - Template:Para – specify the color of the shadow. Default is
#CCC;
.