Created
March 4, 2012 17:24
-
-
Save srobbin/1973984 to your computer and use it in GitHub Desktop.
Intelligist Demo: Initial CSS
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
/* | |
Gists are snippets of shareable code. | |
GitHub allows gists to be embedded into your website | |
For example, here's a bit of CSS for a background gradient. | |
It's being applied to the page that you're looking at. | |
*/ | |
body { | |
background: #efefef; /* Old browsers */ | |
background-image: -moz-linear-gradient(top, #efefef 0%, #efefef 40%, #ffffff 100%); /* FF3.6+ */ | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(40%,#efefef), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */ | |
background-image: -webkit-linear-gradient(top, #efefef 0%,#efefef 40%,#ffffff 100%); /* Chrome10+,Safari5.1+ */ | |
background-image: -o-linear-gradient(top, #efefef 0%,#efefef 40%,#ffffff 100%); /* Opera 11.10+ */ | |
background-image: -ms-linear-gradient(top, #efefef 0%,#efefef 40%,#ffffff 100%); /* IE10+ */ | |
background-image: linear-gradient(top, #efefef 0%,#efefef 40%,#ffffff 100%); /* W3C */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment