JSFiddle - React, Tailwind, and code Playground
by Martin Sjåstad
December 17, 2012
HTML
<a class="share btn dark" target="_blank">
<div class="sharrre" data-url="http://localhost.martin/feed_posts/view/185/hey-everybody-i-just-wanted-to-remind-you-all-that-we-039-re-having-a-free-bbq-for-all-of-our-members-in-front-of-the-arts-students-centre-in-one-hour-make-sure-you-don-039-t-miss-" data-text="" data-title="Hey everybody, I just wanted to remind you all that we&#039;re having a free BBQ for all of...">
Share
</div>
</a>
CSS
.btn,
.btn-icon,
.btn-mini,
.btn-mini-icon
{
background-color: #ededed;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ebebeb));
background-image: -webkit-linear-gradient(top, #f4f4f4, #ebebeb);
background-image: -moz-linear-gradient(top, #f4f4f4, #ebebeb);
background-image: -o-linear-gradient(top, #f4f4f4, #ebebeb);
background-image: linear-gradient(to bottom, #f4f4f4, #ebebeb);
background-repeat: no-repeat;
background-position: 6px center;
-webkit-box-shadow: inset 0 1px 1px #ffffff
, 0 1px 0 #b2b1b1
, 0 2px 0 #a5a5a5
, 0 3px 1px #cfcfcf
, 0 3px 1px rgba(0, 0, 0, 0.25)
;
-moz-box-shadow: inset 0 1px 1px #ffffff
, 0 1px 0 #b2b1b1
, 0 2px 0 #a5a5a5
, 0 3px 1px #cfcfcf
, 0 3px 1px rgba(0, 0, 0, 0.25)
;
box-shadow: inset 0 1px 1px #ffffff
, 0 1px 0 #b2b1b1
, 0 2px 0 #a5a5a5
, 0 3px 1px #cfcfcf
, 0 3px 1px rgba(0, 0, 0, 0.25)
;
font-weight: bold;
font-size: 11px;
color: #555555;
display: inline-block;
text-decoration: none;
border: 1px solid #bababa;
border-bottom: 1px solid #a5a5a5;
padding: 0 7px;
line-height: 2.363636364;
margin: 0;
cursor: pointer;
position: relative;
text-shadow: 0 1px 0 #ffffff;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn.dark
{
background-color: #4a4a4a;
background-image: -webkit-gradient(linear, left top, left bottom, from(#686868), to(#444444));
background-image: -webkit-linear-gradient(top, #686868, #444444);
background-image: -moz-linear-gradient(top, #686868,...