is it possible to import an icon from FontAwesome into ::before pseudo-element? if yes then how can I do this?
5/25/2018 10:29:37 AM
Darek A3 Answers
New Answer::before and ::after are psuedu classes In easy terms by this you can create more two objects from a single class hence total 3 objects from a single class, content:' '; is necessary to write https://code.sololearn.com/Wa7nNxqgs7Xz/?ref=app
Try first answer here: https://stackoverflow.com/questions/36197443/use-fontawesome-icon-inside-a-before-pseudo-element-with-attr
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message