Skip to main content

Pseudo-elements and Generated Content

Learn Pseudo-elements and Generated Content (Colours, Backgrounds and Text, CSS) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Pseudo-elements let you style a part of an element, or add decoration without extra HTML.

More lessons in Colours, Backgrounds and Text