CSS Hacks: What is ::before and ::after?
::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...
johnpalmgren.hashnode.dev1 min read
Marcin Sarniak
I am currently accumulating knowledge
Nice and simple explanation.