JSFiddle - React, Tailwind, and code Playground
HTML
<a href="http://facebook.com/daniel.eden" class="fb connect">Connect with Facebook</a>
<a href="http://facebook.com/daniel.eden" class="fb share" data-text="20000076">Share<em></em></a>
CSS
html { min-height: 100%; }
body {
-webkit-font-smoothing: antialiased;
text-align: center;
background: -webkit-linear-gradient(#fcfcfd, #bec9db);
background: -moz-linear-gradient(#fcfcfd, #bec9db);
background: -o-linear-gradient(#fcfcfd, #bec9db);
background: -ms-linear-gradient(#fcfcfd, #bec9db);
background: linear-gradient(#fcfcfd, #bec9db);
min-height: 100%;
padding-top: 15%;
}
a.fb {
font-family: Lucida Grande, Helvetica Neue, Helvetica, Arial, sans-serif;
display: inline-block;
font-size: 11px;
padding: 6px 8px;
background: -webkit-linear-gradient(#6d80a6, #4e6293);
background: -moz-linear-gradient(#6d80a6, #4e6293);
background: -o-linear-gradient(#6d80a6, #4e6293);
background: -ms-linear-gradient(#6d80a6, #4e6293);
background: linear-gradient(#6d80a6, #4e6293);
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,20,.4);
font-weight: bold;
box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 1px #2e4464;
text-decoration: none;
border-radius: 3px;
line-height: 1;
position: relative;
}
.connect:before, .share:before {
display: inline-block;
position: relative;
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAATCAYAAACp65zuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ1JREFUeNpi1PcuYEACikA8GYi9GdAACzJHRU5iUX6in42tqSYDXoWlaUFW5gaqDNgAEzLHSEeJiQEHQDGRlYUZzv71+0+ZWWBpN1YTkQEbK8tEdKv5gfg/FMOBgU/hTyTxDwxzVuyW/U8AfP3+4w9Oq5HB+w9fvjECNfCDjcYPtrIA3fIRyGAE8S5s6f+P5EZGnOGID4wqxAsAAgwAZJZIKuTDCsgAAAAASUVORK5CYII=);
height: 23px;
background-repeat: no-repeat;
background-position: 0px 3px;
text-indent: -9999px;
text-align: center;
width: 7px;
line-height: 23px;
margin: -8px 7px -7px 0;
padding: 0 7px 0 0;
content: "f";
border-right: 1px solid #4e6293;
box-shadow: 1px 0 0 rgba(255,255,255,.1);
}
.share:after {
content: attr(data-text);
...