[class^="icon"] { width: 1em; height: 1em; position: relative; } .btn { margin-right: .2em; margin-left: .2em; margin-bottom: .3em; box-shadow: rgb(255, 255, 255) 0px 1px 0px 0px inset; background: linear-gradient(rgb(249, 249, 249) 5%, rgb(233, 233, 233) 100%) rgb(249, 249, 249); border-radius: 6px; border: 1px solid rgb(220, 220, 220); display: inline-block; cursor: pointer; color: rgb(102, 102, 102); font-family: Arial; font-size: 15px; font-weight: bold; padding: 6px 8px; text-decoration: none; text-shadow: rgb(255, 255, 255) 0px 1px 0px; outline: none; } .btn .icon-text { top: 0; } .btn:hover, .btn:focus, .btn:active { border-color: rgb(190, 190, 190); background: linear-gradient(rgb(247, 251, 255) 5%, rgb(231, 235, 242) 100%) rgb(249, 249, 249); text-decoration: none; } .btn:active { box-shadow: inset 0 6px 6px -6px darkgray; }