::before and ::after are CSS pseudo elements. They can add content before or after that element. This is the syntax .class::after { content: "some content" } This can be used with pseudo classes to add content when an event occurs. In the example b...

Markdown supported · ⌘↵ to post
John Palmgren
Marcin Sarniak
I am currently accumulating knowledge
Nice and simple explanation.