Created
May 20, 2012 08:15
-
-
Save simplelife7/2757284 to your computer and use it in GitHub Desktop.
【CSS】CSS3渐变
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: -moz-linear-gradient(top, #FEFEFE 1%, #F1F1F3 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#FEFEFE), color-stop(100%,#F1F1F3)); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, #FEFEFE 1%,#F1F1F3 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, #FEFEFE 1%,#F1F1F3 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, #FEFEFE 1%,#F1F1F3 100%); /* IE10+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FEFEFE', endColorstr='#F1F1F3',GradientType=0 ); /* IE6-9 */ | |
background: linear-gradient(top, #FEFEFE 1%,#F1F1F3 100%); /* W3C */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment