The shadow CSS property box-shadow

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

 

 

Example

compatibility

For now the mainstream browsers,For example FF4.0 +、Chrome10.0+、Opera10.5+、Safari5.1+、IE9.0+,AllDirect SupportCSS3 standard attributesbox-shadow

But if you want an early version supports such Firefox4.0 previous shadow,So you want to use the property -moz-box-shadow,This is an early FF own custom CSS properties。

Another example is less than 10.0 or less than 5.1 Safari Chrome will use -webkit-box-shadow property,Otherwise, it will not see the shadows。

Original article written by LogStudio:R0uter's Blog » The shadow CSS property box-shadow

Reproduced Please keep the source and description link:https://www.logcg.com/archives/569.html

About the Author

R0uter

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Leave a Reply

Your email address will not be published. Required fields are marked *