JSFiddle - React, Tailwind, and code Playground
by Bhavik Bamania
HTML
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<br/>
Tags:
<span class="tag label label-info">
<span>Example Tag</span>
<a><i class="remove glyphicon glyphicon-remove-sign glyphicon-white"></i></a>
</span>
CSS
/* adapted from http://maxwells.github.io/bootstrap-tags.html */
.tag {
font-size: 14px;
padding: .3em .4em .4em;
margin: 0 .1em;
}
.tag a {
color: #bbb;
cursor: pointer;
opacity: 0.6;
color:#ED7D31;
}
.tag a:hover {
opacity: 1.0
}
.tag .remove {
vertical-align: bottom;
top: 0;
}
.tag a {
margin: 0 0 0 .3em;
}
.tag a .glyphicon-white {
color: #ED7D31;
margin-bottom: 2px;
}