Skip to content

Instantly share code, notes, and snippets.

@barbazul
Created July 25, 2012 13:26
Show Gist options
  • Save barbazul/3176189 to your computer and use it in GitHub Desktop.
Save barbazul/3176189 to your computer and use it in GitHub Desktop.
Buttons
/**
* Buttons
*/
a.button {
padding: 10px 20px;
background-image: linear-gradient(bottom, rgb(23,188,245) 0%, rgb(51,226,255) 50%);
border: 1px solid rgb(23,188,245);
border-radius: 10px;
}
a:link.button,
a:visited.button {
color: white;
text-decoration: none;
font-family: sans-serif;
font-size: 14px;
text-shadow: 1px 1px silver;
}
a:active.button {
background-image: linear-gradient(bottom, rgb(51,226,255) 0%, rgb(23,188,245) 50%);
}
a:hover.button {
box-shadow: 0 0 15px -5px orange;
}
div {
padding: 20px;
}
<!-- content to be placed inside <body>…</body> -->
<div>
<a href="#" class="button">Click me!</a>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment