JSFiddle - React, Tailwind, and code Playground
by Sergey Linnick
HTML
<button class="btn">Cancel</button>
<button class="btn btn-primary">Update</button>
CSS
.btn {
font-family: Tahoma, Helvetica, Verdana, Arial;
border: 1px solid #BDBCBD;
font-size: 12px;
height: 26px;
line-height: 15px;
padding-bottom: 2px;
background-color: #E7E3E7;
background: #ebebeb;
background: -moz-linear-gradient(top, #ebebeb 0%, #fcfcfc 41%, #ffffff 55%, #ffffff 100%);
background: -webkit-linear-gradient(top, #ebebeb 0%, #fcfcfc 41%, #ffffff 55%, #ffffff 100%);
background: linear-gradient(to bottom, #ebebeb 0%, #fcfcfc 41%, #ffffff 55%, #ffffff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#ffffff', GradientType=0);
}
.btn-primary{
font-family: Tahoma, Helvetica, Verdana, Arial;
border: 1px solid #8db2b1;
/* color: */
font-size: 12px;
height: 26px;
line-height: 15px;
padding-bottom: 2px;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#cafffd+0,d9fffd+41,e0fffd+56,effffe+100,207cca+100,effffe+100,effffe+100 */
background: #cafffd; /* Old browsers */
background: -moz-linear-gradient(top, #cafffd 0%, #d9fffd 41%, #e0fffd 56%, #effffe 100%, #207cca 100%, #effffe 100%, #effffe 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #cafffd 0%,#d9fffd 41%,#e0fffd 56%,#effffe 100%,#207cca 100%,#effffe 100%,#effffe 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #cafffd 0%,#d9fffd 41%,#e0fffd 56%,#effffe 100%,#207cca 100%,#effffe 100%,#effffe 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cafffd', endColorstr='#effffe',GradientType=0 ); /* IE6-9 */
}