Skip to content

Instantly share code, notes, and snippets.

@srobbin
Created March 4, 2012 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srobbin/1973984 to your computer and use it in GitHub Desktop.
Save srobbin/1973984 to your computer and use it in GitHub Desktop.
Intelligist Demo: Initial CSS
/*
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