Coding for Beginners: CSS Basics #74— What is a Pseudoelement?

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering3 min

About this video

A short beginner lesson in the Coding for Beginners series for designers, explaining what CSS pseudo-elements are. It covers ::first-letter, ::first-line and ::selection.

What you’ll learn

  • Explain what a CSS pseudo-element is
  • Style the first letter and first line of an element's text with CSS
  • Style selected text with the ::selection pseudo-element