How to add a dash before text in CSS
Using the CSS :before title you can create an simple dash before anything you want.
CSS :
.dash { background: #333 none repeat scroll 0 0; float: left; height: 2px; margin-right: 5px; margin-top: 10px; width: 15px; }
HTML :
<span class="dash"></span>Output:
Share