/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* @group ZURB Awesome Buttons */ /* * 201008201230 - brandonjp * * Adapted from http://bit.ly/zurb-buttons * Demo at http://bit.ly/zurb-buttons-demo * * USAGE: Give your element class "button" or use the HTML5 <button> * */ .button, .button:visited, button, button:visited { cursor: pointer; position: relative; display: inline-block; padding: 5px 10px 6px; color: #fff; line-height: 1; font-weight: bold; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); text-decoration: none; background: #222 url(images/alert-overlay.png) repeat-x; border-bottom: 1px solid rgba(0,0,0,0.25); border-radius: 5px; -khtml-border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.5); -khtml-box-shadow: 0 1px 3px rgba(0,0,0,0.5); -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); } .button:hover, button:hover { background-color: #111; color: #fff; } .button:active, button:active { top: 1px; } .small.button, .small.button:visited, button.small, button.small:visited { font-size: 11px; } .button, .button:visited, button, button:visited, .medium.button, .medium.button:visited, button.medium, button.medium:visited { font-size: 13px; } .large.button, .large.button:visited, button.large, button.large:visited { font-size: 14px; padding: 8px 14px 9px; } .green.button, .green.button:visited, button.green, button.green:visited { background-color: #91bd09; } .green.button:hover, button.green:hover { background-color: #749a02; } .blue.button, .blue.button:visited, button.blue, button.blue:visited { background-color: #2daebf; } .blue.button:hover, button.blue:hover { background-color: #007d9a; } .red.button, .red.button:visited, button.red, button.red:visited { background-color: #e33100; } .red.button:hover, button.red:hover { background-color: #872300; } .magenta.button, .magenta.button:visited, button.magenta, button.magenta:visited { background-color: #a9014b; } .magenta.button:hover, button.magenta:hover { background-color: #630030; } .orange.button, .orange.button:visited, button.orange, button.orange:visited { background-color: #ff5c00; } .orange.button:hover, button.orange:hover { background-color: #d45500; } .yellow.button, .yellow.button:visited, button.yellow, button.yellow:visited { background-color: #ffb515; } .yellow.button:hover, button.yellow:hover { background-color: #fc9200; } /* @end ZURB Awesome Buttons */