Created
May 5, 2011 13:29
-
-
Save tijmenb/957017 to your computer and use it in GitHub Desktop.
CSS 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
/** awesome css buttons: http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba **/ | |
.awesome, .awesome:visited { | |
background: #222 url(/img/alert-overlay.png) repeat-x; | |
display: inline-block; | |
padding: 5px 10px 6px; | |
color: #fff; | |
text-decoration: none; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); | |
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); | |
text-shadow: 0 -1px 1px rgba(0,0,0,0.25); | |
border-bottom: 1px solid rgba(0,0,0,0.25); | |
position: relative; | |
cursor: pointer; | |
background-color: #91bd09; | |
} | |
input.awesome { | |
border:none; | |
padding:10px 20px; | |
} | |
.awesome:hover { background-color: #111; color: #fff; } | |
.awesome:active { top: 1px; } | |
.small.awesome, .small.awesome:visited { font-size: 11px; padding: ; } | |
.awesome, .awesome:visited, | |
.medium.awesome, .medium.awesome:visited { font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); } | |
.large.awesome, .large.awesome:visited { font-size: 14px; padding: 8px 14px 9px; } | |
.green.awesome, .green.awesome:visited { background-color: #91bd09; } | |
.green.awesome:hover { background-color: #749a02; } | |
.blue.awesome, .blue.awesome:visited { background-color: #2daebf; } | |
.blue.awesome:hover { background-color: #007d9a; } | |
.red.awesome, .red.awesome:visited { background-color: #e33100; } | |
.red.awesome:hover { background-color: #872300; } | |
.magenta.awesome, .magenta.awesome:visited { background-color: #a9014b; } | |
.magenta.awesome:hover { background-color: #630030; } | |
.orange.awesome, .orange.awesome:visited { background-color: #ff5c00; } | |
.orange.awesome:hover { background-color: #d45500; } | |
.yellow.awesome, .yellow.awesome:visited { background-color: #ffb515; } | |
.yellow.awesome:hover { background-color: #fc9200; } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment