Font Awesome icon content value

Font Awesome is a free icon especially apply to bootstrap frames.
How to get start?  here
You can download from the official site or link from library.,such as CDN.
After you get up and running, you can place Font Awesome icons just about anywhere with the <i> tag.
.element {
    positionrelative;
}
/*replace the content value with the
corresponding value from the list below*/
.element:before {
    content"\f000";
    font-family: FontAwesome;
/*--adjust as necessary--*/
           color#000;
    positionabsolute;
    top10px;
    left0;
}
It is not possible to use :before or :after pseudo content on <input> elements.












Popular posts from this blog

Fancyapps — easily build overlay windows with carousel

Meet Mantine: A TS-Based Open-Source React Components Library

Meet Tippy.js: The Complete Tooltip Popover Plugin