JSFiddle - React, Tailwind, and code Playground
by Ken Watanabe
HTML
<span class="commit-status">Commit</span>
CSS
.commit-status:before {
content: " ";
background: url('http://upload.wikimedia.org/wikipedia/commons/3/34/Red_star.svg');
background-size: 100%;
background-repeat: no-repeat;
background-size: contain;
width: 10px;
height: 1em;
display: inline-block;
}
span {font-size:45px;}