Skip to content

Instantly share code, notes, and snippets.

@logeshpaul
Created May 12, 2012 14:01
Show Gist options
  • Save logeshpaul/2666666 to your computer and use it in GitHub Desktop.
Save logeshpaul/2666666 to your computer and use it in GitHub Desktop.
CSS: Background gradient
background: #e8e8ea;
background-image: -moz-linear-gradient(top, #f6f6f7, #e8e8ea);
background-image: -webkit-gradient(linear, center top, center bottom, from(#f6f6f7), to(#e8e8ea));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f7', endColorstr='#e8e8ea');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f7', endColorstr='#e8e8ea')";
background-image: linear-gradient(top, #f6f6f7, #e8e8ea);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment