JSFiddle - React, Tailwind, and code Playground
by alexdickson
HTML
<button>
<span>
<span>
Submit
</span>
</span>
</button>
CSS
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
padding: 20px;
}
button {
background: none;
border: none;
padding: 0;
}
button span {
display: block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
button span {
border: 1px solid #999;
padding: 0;
background: #F0F0F0;
background: -moz-linear-gradient(top, #F0F0F0 50%, #D4D4D4 50%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#F0F0F0), color-stop(50%,#D4D4D4));
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#D4D4D4',GradientType=0 );
}
button span span {
border: 1px solid #fff;
padding: 10px;
}