What does :: before and ::after do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does :: before and ::after do?

23rd Oct 2020, 8:24 AM
Black Knight
Black Knight - avatar
2 Answers
+ 6
The ::before and ::after pseudo-elements in CSS allows you to insert content onto a page without it needing to be in the HTML.
23rd Oct 2020, 8:30 AM
Alphin K Sajan
Alphin K Sajan - avatar
23rd Oct 2020, 8:32 AM
Alphin K Sajan
Alphin K Sajan - avatar