use font awesome on elements lists ul

good if you need to use font awesome in list items like ul lists, etc.

.element {
    position: relative;
/*replace the content value with the
corresponding value from the list below*/
.element:before {
    content: "\f000";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #000;
    font-size: 18px;
    padding-right: 0.5em;
    position: absolute;
    top: 10px;
    left: 0;

via here, also has list of all useable icons.

Other Items in css
Page Views

This page has been viewed 409 times.

Search Code
Search Code by entering your search text above.

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.


Random Quote
All of humanity's problems stem from man's inability to sit quietly in a room alone, wrote Blaise Pascal.