JSFiddle - React, Tailwind, and code Playground

HTML

<div class='large add-to-cart'>Add to cart</div>
<br />
<br />
<div class="progress-bar blue stripes"> <span style="width:100%;">Loading..</span> </div>
<br />
<br />
<div class='small add-to-cart'>Add to cart</div>

CSS

.large {
	font-size: 15px;
	width: 164px; 
	height: 20px;
	letter-spacing: 1px;
	padding: 10px 20px 10px 20px;
}

.small {
	font-size: 12px;
	width: 140px; 
	height: 15px;
	letter-spacing: 1px;
	padding: 10px 5px 10px 8px;
}


.add-to-cart {
	background: #3890c1;
	/*background color & gradient */
	background-image: -webkit-linear-gradient(top, #3890c1, #1d638a);
	background-image: -moz-linear-gradient(top, #3890c1, #1d638a);
	background-image: -ms-linear-gradient(top, #3890c1, #1d638a);
	background-image: -o-linear-gradient(top, #3890c1, #1d638a);
	background-image: linear-gradient(to bottom, #3890c1, #1d638a);
	/* Border Radius */
	-webkit-border-radius: 4;
	-moz-border-radius: 4;
	border-radius: 4px;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;

	position: relative;
	text-align: right;
	/*Shadow*/
	-webkit-box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    0px 0px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         0px 0px 1px 0px rgba(50, 50, 50, 0.5);
}

.add-to-cart:hover {
	background: #3890c1;
	text-decoration: none;
}

.add-to-cart:before {
	content: "";
	display: block;
	background:url('http://s18.postimg.org/76cx5nfqt/cart_icon.png') no-repeat;
	position: absolute;
	width: 21px;
	height: 18px;
	border-right: 1px solid #24688a;
    box-shadow: 1px 0 0 #4585a9;
	padding: 2px 8px 0px 0;
}

.progress-bar {
    width: 164px; 
	height: 20px;
  }
        
.progress-bar span {
	display: inline-block;
	height: 100%;
	background-color: #777;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
	-webkit-transition: width .4s ease-in-out;
	-moz-transition: width .4s ease-in-out;
	-ms-transition: width .4s ease-in-out;
	-o-transition: width .4s ease-in-out;
	transition:...