Created
April 29, 2010 20:21
-
-
Save jasonmelgoza/384187 to your computer and use it in GitHub Desktop.
some style to handle gradiant bg in the big three browsers
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
#gradient { | |
color: #fff; | |
height: 100px; | |
padding: 10px; | |
/* For WebKit (Safari, Google Chrome etc) */ | |
background: -webkit-gradient(linear, left top, left bottom, from(#00f), to(#fff)); | |
/* For Mozilla/Gecko (Firefox etc) */ | |
background: -moz-linear-gradient(top, #00f, #fff); | |
/* For Internet Explorer 5.5 - 7 */ | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF0000FF, endColorstr=#FFFFFFFF); | |
/* For Internet Explorer 8 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF0000FF, endColorstr=#FFFFFFFF)"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment