JSFiddle - React, Tailwind, and code Playground
by sstur
HTML
<button class="one">One</button>
<button class="two">Two</button>
CSS
html {
height: 100%;
}
body {
min-height: 100%;
margin: 0;
padding: 0;
}
button {
display: inline-block;
margin: 10px;
padding: 2px 10px;
line-height: 22px;
background: transparent none;
background: linear-gradient(to bottom, #fdfdfd 0%,#f6f7f8 100%);
border: 1px solid #ccc;
border-radius: 2px;
box-sizing: border-box;
height: auto;
}
.one {
outline: -webkit-focus-ring-color auto 5px;
outline-offset: -1px;
box-shadow: none;
}
.two {
outline: none;
/*
box-shadow: 0 0 1px 2px rgba(88, 144, 255, 0.75);
box-shadow: 0 0 1px 3px #82befb;
*/
box-shadow: 0 0 1px 3px rgba(56, 151, 249, 0.627);
}