Created
March 10, 2011 14:40
-
-
Save dalecaru/864184 to your computer and use it in GitHub Desktop.
Cross-Browser CSS Gradient
This file contains hidden or 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
body { | |
background: #999; /* for non-css3 browsers */ | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */ | |
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */ | |
background: -moz-linear-gradient(top, #ccc, #000); /* for firefox 3.6+ */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment