JSFiddle - React, Tailwind, and code Playground

by hyperthalamus

HTML

<div id="buttonBar">
  <div class="buttonWrapper">
    <button class="button" id="buttonOne">testMe</button>
  </div>
  <div class="buttonWrapper">
    <button class="button" id="buttonTwo">testMe</button>
  </div>
  <div class="buttonWrapper">
    <button class="button" id="buttonThree">testMe</button>
  </div>
  </div>
</div>

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
div#buttonBar{
  min-width: 50px;
  width: 200px;
  height: 35px;
  background: #333;
  overflow: hidden;
  
}
div.buttonWrapper{
  position:relative;
  width: 33.3%;
  min-width: 75px;
  height: 35px;
  float: left;
}
button{
  position: absolute;
  opacity: 1;
  height: 100%;
  width: 100%;
  top: 0px;
  z-index: 0;
  background-image: -moz-linear-gradient(-90deg, rgb(204, 204, 204), rgb(255, 255, 255));
  background-color: transparent; border-color: rgb(0, 0, 0);
  border-width: 5px;
  border-style: solid;
  border-radius: 8px 8px 8px 8px;
  text-align: center;
  font-weight: bold;
  color: rgb(0, 0, 0);
  font-family: Arial;
  font-size: 14px;
  padding: 0px;
  cursor: default;
  text-overflow: ellipsis;
  white-space: pre;
  overflow: hidden;
}