首页 > 代码库 > CSS3 (1) - Beginner

CSS3 (1) - Beginner

border-radius
text-shadow
box-shodow
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
backgroud-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#333)); /* Safari*/
backgroud-image: -webkit-linear-gradient(top, white, #333); /*Chrome 10+ iOS 5+*/
backgroud-image: -moz-linear-gradient(top, white, #333); /* Firefox 3.6 - 15*/
backgroud-image: -o-linear-gradient(top, white, #333); /* Opera */
backgroud-image: linear-gradient(to bottom, white, #333); /* Firefox 16+, IE10, Opera 12.50+ */

CSS3 (1) - Beginner