public
Created

<button> css reset, now you can stop using <a>

  • Download Gist
gistfile1.css
CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
button{
display: inline-block;
cursor: pointer;
color: inherit;
padding: inherit;
border: none;
background: inherit;
box-sizing: content-box;
font: inherit;
-webkit-appearance: none;
-moz-appearance: none;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.