Topic: CSS Basics

Selector list – CSS

Preview

To target multiple selectors in CSS, list out the selectors and separate them using commas:

h1, h2, p {}

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.