Skip to content

Instantly share code, notes, and snippets.

@hayatbiralem
Created March 8, 2013 15:06
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 hayatbiralem/5117034 to your computer and use it in GitHub Desktop.
Save hayatbiralem/5117034 to your computer and use it in GitHub Desktop.
A simple css class for responsive button.
/*
Generated by http://www.colorzilla.com/gradient-editor
Colors: #008FCA, #33B2E6
*/
.blue_gradient_background {
background: #33b2e6; /* Old browsers */
background: -moz-linear-gradient(top, #33b2e6 0%, #008fca 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#33b2e6), color-stop(100%,#008fca)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #33b2e6 0%,#008fca 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #33b2e6 0%,#008fca 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #33b2e6 0%,#008fca 100%); /* IE10+ */
background: linear-gradient(to bottom, #33b2e6 0%,#008fca 100%); /* W3C */
/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33b2e6', endColorstr='#008fca',GradientType=0 ); /* IE6-9 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment