What are CSS pseudo elements?

Pseudo-elements style specific parts of elements.
Example:

p::first-line { font-weight: bold; }
p::before { content: "👉 "; }

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *