Loading...

Create Icon From The CSS Font Awesome Degree

View: 1512    Dowload: 0   Comment: 0   Post by: hanhga   Category: HTML-CSS template   Fields: Other

Font Awesome is a web font contains all the icons from Twitter Bootstrap framework, by assigning value content in css, you can create the desired icon.

Font Awesome is a web font contains all the icons from Twitter Bootstrap framework, by assigning value content in css, you can create the desired icon. Suppose you want to create icons from any element, only the following declaration:

.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;
}

And just change the value of your content can create icons as follows:

Hopefully with this icon, you will be spoiled that applies to your site.

Create Icon From The CSS Font Awesome Degree

Font Awesome is a web font contains all the icons from Twitter Bootstrap framework, by assigning value content in css, you can create the desired icon.

Posted on 19-12-2015 

Comment:

To comment you must be logged in members.

Files with category

 
File suggestion for you
Loading...
File top downloads
Loading...
Loading...
Codetitle - library source code to share, download the file to the community
Copyright © 2018. All rights reserved. codetitle Develope by Vinagon .Ltd