Skip to content

Instantly share code, notes, and snippets.

@fsschmitt
Created June 10, 2012 19:10
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 fsschmitt/2906958 to your computer and use it in GitHub Desktop.
Save fsschmitt/2906958 to your computer and use it in GitHub Desktop.
Cool twitter background color
background: -webkit-radial-gradient(center, ellipse cover, #4786B3 0%,#2E5673 100%); /* twitter colors */
/* cross-browser */
background: #4786B3; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4786B3', endColorstr='#2E5673'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#4786B3), to(#2E5673)); /* for webkit browsers */
background: -moz-linear-gradient(top, #4786B3, #2E5673); /* for firefox 3.6+ */
/* github top-down gradient */
background: -moz-linear-gradient(top,#285077,#4488BA);/* for firefox 3.6+ */
background: -moz-linear-gradient(center top,"#285077","#4488BA");/* for firefox 3.6+ */
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#285077',endColorstr='#4488BA');/* for IE */
background: -webkit-gradient(linear,left top,left bottom,from(#285077),to(#4488BA)); /* for webkit browsers */
background: -moz-linear-gradient(top,#285077,#4488BA);/* for firefox 3.6+ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment