icons8 / line-awesome

Replace Font Awesome with modern line icons
https://icons8.com/line-awesome
Other
1.25k stars 140 forks source link

css pseudo-elements not working #49

Closed pjadanowski closed 4 years ago

pjadanowski commented 4 years ago

Hi, i'm trying to set line-awesome icon in pseudo element in css but i isn't working my class is:

.breadcrumb-content .list-items li:before {   
    position: absolute;  
    content: "\f105";  
    font-family: "Line Awesome Free";  
}  

right angle does not appear

fatawesome commented 4 years ago

Because icons have their dedicated prefixes. For the right angle it is .las (as you may noticed on https://icons8.com/line-awesome). To use icons in the way you showed (without having a prefix) you need to add styles which are usually added by prefix. In your case its font-weight: 900

Please tell me if it helped you.

fatawesome commented 4 years ago

Well, hopefully you are ok there :) Feel free to reopen the issue if you still have problems.

pjadanowski commented 4 years ago

thanks, it works ;)