JSFiddle - React, Tailwind, and code Playground
by GopsAB
HTML
<div class="common_button_container noselect">
<div class="common_button">Submit</div>
</div>
CSS
.common_button
{
border: 1px solid #003A2C;
padding: 5px;
background-color: #007F66;
/*#35ef43;*/
border-radius: 11%;
color: #e2e2e2;
font-family: sans-serif;
font-size: 14px;
font-style: italic;
text-align: center;
box-shadow: 0px 5px 5px -2px #777;
cursor: pointer;
font-weight: bold;
width: 88%;
margin-left:0px;
}
.common_button:hover
{
background-color: #003A2C;
/*#006E00;*/
}
.common_button:active
{
box-shadow: 0px 3px 3px -2px #777;
/*padding: 3px;*/
width:87%;
height: 17px;
}
.common_button:disabled
{
}
.common_button_container
{
width: 100px;
height: 30px;
}
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}