About ::before. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

About ::before.

is it possible to import an icon from FontAwesome into ::before pseudo-element? if yes then how can I do this?

25th May 2018, 10:29 AM
Darek A
Darek A - avatar
3 ответов
+ 1
::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
25th May 2018, 10:34 AM
Sharique Khan
Sharique Khan - avatar
thank you
25th May 2018, 11:33 AM
Darek A
Darek A - avatar