JSFiddle - React, Tailwind, and code Playground
HTML
Button<b>I</b> elements, style working:<br />
<buttoni class="btn status1" lexeme="o">o</buttoni>
<buttoni class="btn status0" lexeme="i">i</buttoni>
<br clear="all"/>
Button elements, style NOT working:<br />
<button class="btn status1" lexeme="?">?</button>
<button class="btn status0" lexeme=")">)</button>
<br clear="all"/>
Other<br />
<button lexeme="!">!</button>
CSS
/* BOUTTONS */
body {
height: 100%;
background: #303030;
}
button.btn, buttoni.btn {
font-size: 6em;
float: left;
margin-right: 30px;
width: 50px;
height: 50px;
border-radius: 10%;
background: linear-gradient(to bottom, #363636 0%, #292929 100%);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.7), inset 0 2px 0 -1px rgba(98, 98, 98, 0.5), 0 3px 7px -3px rgba(0, 0, 0, 0.7);
color: #ADADAD;
text-align: center;
font-size: 22px;
line-height: 50px;
cursor: pointer;
transition: color .3s ease;
}
.btn.status1 {
color: red;
}
.btn.active, .btn.status0 {
background: linear-gradient(to bottom, #890d0d 0%, #c14545 100%);
box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.4), 0 3px 0 -1px rgba(98, 98, 98, 0.5), inset 0 4px 15px -2px rgba(0, 0, 0, 0.5);
color: green;
}