It could be easy and quick to create shadow for any html-page element with this CSS box-shadow generator. Exception is for such an element like text.
Block example | |
Code: { box-shadow:1px 1px 1px rgba(0,0,0,1); -webkit-box-shadow:1px 1px 1px rgba(0,0,0,1); -moz-box-shadow:1px 1px 1px rgba(0,0,0,1); } |
|
px | |
px | |
px | |
px | |
px | |
This generator creates CSS code, which will needed apply to the right element with shadow effect. There are some properties when you create shadows:
When you use shadows, don't forget that, in some cases, this property will expand element's borders, result in scrollbar may appeared or page may shifted.
The properties -box-shadow, -webkit-box-shadow and -moz-box-shadow have next syntax:
Property: none | <shadow1> [,<shadow2>]*
where:
An example of application the CSS box-shadow online generator |