Skip to content

Instantly share code, notes, and snippets.

@iamphill
Created January 9, 2013 08:30
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 iamphill/4491582 to your computer and use it in GitHub Desktop.
Save iamphill/4491582 to your computer and use it in GitHub Desktop.
CSS Gradients, includes IE. For future reference when I need the IE filter, who can actually remember that?!
background:#ffffff;
background: -webkit-linear-gradient(top, #ecebeb 0%, #ffffff 50%, #ecebeb 100%);
background: -moz-linear-gradient(top, #ecebeb 0%, #ffffff 50%, #ecebeb 100%);
background: -o-linear-gradient(top, #ecebeb 0%, #ffffff 50%, #ecebeb 100%);
background: linear-gradient(top, #ecebeb 0%, #ffffff 50%, #ecebeb 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ecebeb');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment