Skip to content

Instantly share code, notes, and snippets.

@arielkirkwood
Created December 14, 2011 21:28
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 arielkirkwood/1478625 to your computer and use it in GitHub Desktop.
Save arielkirkwood/1478625 to your computer and use it in GitHub Desktop.
CSS Vertical Gradient for Erik
<style type="text/css">
body{
background: #93826b; /* Old browsers */
background: -moz-linear-gradient(top, #93826b 0%, #cabda7 100%, #e0eff9 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#93826b), color-stop(100%,#cabda7), color-stop(100%,#e0eff9)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #93826b 0%,#cabda7 100%,#e0eff9 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #93826b 0%,#cabda7 100%,#e0eff9 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #93826b 0%,#cabda7 100%,#e0eff9 100%); /* IE10+ */
background: linear-gradient(top, #93826b 0%,#cabda7 100%,#e0eff9 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93826b', endColorstr='#e0eff9',GradientType=0 ); /* IE6-9 */
}
/* Created with ColorZilla's Ultimate CSS Gradient Generator (http://www.colorzilla.com/gradient-editor/) */
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment