/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.awesome { background: #A9014B; display: inline-block; padding: 5px 10px 6px; color: #fff; text-decoration: none; font-weight: bold; line-height: 1; -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; } .awesome:hover { background: #C9025C; } /* Sizes ---------- */ .small.awesome { font-size: 11px; } .medium.awesome { font-size: 13px; } .large.awesome { font-size: 14px; padding: 8px 14px 9px; } /* Colors ---------- */ .blue.awesome { background-color: #2daebf; } .red.awesome { background-color: #e33100; } .magenta.awesome { background-color: #a9014b; } .orange.awesome { background-color: #ff5c00; } .yellow.awesome { background-color: #ffb515; }
URL: http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba