Created
July 25, 2012 13:26
-
-
Save barbazul/3176189 to your computer and use it in GitHub Desktop.
Buttons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- content to be placed inside <body>…</body> --> | |
<div> | |
<a href="#" class="button">Click me!</a> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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