Select and Style Multiple Elements by Class | Intro to HTML & CSS

Treehouse on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design5 min

About this video

This intro Treehouse lesson shows how to select and style multiple HTML elements at once using classes in CSS. It also covers CSS properties such as padding and margin. It is aimed at beginners learning HTML and CSS.

What you’ll learn

  • Select multiple HTML elements by class
  • Style groups of elements with CSS rules
  • Adjust spacing using padding and margin