JSFiddle - React, Tailwind, and code Playground
HTML
<input type="checkbox">
<input type="checkbox">
<input type="checkbox">
<input type="checkbox">
<br /><br />
<input type="text" value="sample" />
CSS
body{
background-color:#e6e5e0;
}
textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"]{
background-color:#efefeb;
border:1px solid;
border-color:#89969f #89969f #cbcbc8 #89969f;
outline: 0;
padding:3px;
width: 100%;
margin-bottom:10px;
-webkit-box-shadow:inset 0 1px 2px #b8b7b3;
-moz-box-shadow:inset 0 1px 2px #b8b7b3;
box-shadow:inset 0 1px 2px #b8b7b3;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
}
textarea:hover,
select:hover,
input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="email"]:hover,
input[type="month"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="time"]:hover,
input[type="url"]:hover,
input[type="week"]:hover{
-webkit-box-shadow:inset 0 1px 2px #b8b7b3, 0 0 5px #7899b5;
-moz-box-shadow:inset 0 1px 2px #b8b7b3, 0 0 5px #7899b5;
box-shadow:inset 0 1px 2px #b8b7b3, 0 0 5px #7899b5;
}
textarea:active,
textarea:focus,
textarea:active:hover,
textarea:focus:hover,
select:active,
select:focus,
select:active:hover,
select:focus:hover,
input:active,
input:focus,
input:active:hover,
input:focus:hover{
background-color:#f9f9f5;
border-color:#658cae;
-webkit-box-shadow:inset 0 1px 2px #b8b7b3, 0 0 8px #7899b5;
-moz-box-shadow:inset 0 1px 2px #b8b7b3, 0 0 8px #7899b5;
box-shadow:inset 0 1px 2px #b8b7b3, 0 0 8px #7899b5;
z-index:1;/* for Opera...