Types of
box-shadow:CSS3 standard attributes,May be separated by commas more shadow attributes
-moz-box-shadow:Early Firefox for displaying the shadow properties
-webkit-box-shadow:Early Chrome、Safari to display the shadow properties
grammar
1 2 3 4 5 6 7 |
box-shadow: none | <shadow> [,<shadow>]* where <shadow> is defined as: inset? && [ <offset-x> <offset-y> <blur-radius>? <spread-radius>? <color>? ] /*其中offset的xy是x和y轴偏移度,blur是模糊程度,spread是延展度,color则是颜色值*/ |
Example
[crayon-67ec[……]