Coding for Beginners: Recap #67—Pseudoelements and Aligning Text

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design5 min

About this video

A short beginner lesson from the Coding for Beginners series for designers, covering the CSS pseudo-elements ::first-letter, ::first-line and ::selection, and the text-align values for aligning text.

What you’ll learn

  • Style the first letter or first line of an element with ::first-letter and ::first-line
  • Style selected text with the ::selection pseudo-element
  • Align text left, right, centred or justified with the text-align property