Skip to content

Instantly share code, notes, and snippets.

@k111
Created March 9, 2013 12:50
Show Gist options
  • Select an option

  • Save k111/5124071 to your computer and use it in GitHub Desktop.

Select an option

Save k111/5124071 to your computer and use it in GitHub Desktop.
background-color: #000;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#000');
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbb), to(#000));
/*
Google Chrome 4.0~9.0
Safari 4.0~5.0
iOS Safari 4.0.4~5.0 (iOS 3.2~4.2.1)
Android 2.1~3.0 */
background-image: -webkit-linear-gradient(top, #bbb, #000);
/*
Google Chrome 10.0~
Safari 5.1~
iOS Safari 5.1~ (iOS 5.0~)
Android 4.0~ */
background-image: -moz-linear-gradient(top, #bbb, #000);
background-image: -ms-linear-gradient(top, #bbb, #000);
background-image: -o-linear-gradient(top, #bbb, #000);
background-image: linear-gradient(top, #bbb, #000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment