Grouping Selectors

Grouping Selectors

//in the example below we have grouped the selectors

h1, h2, p {
  text-align: center;
  color: red;
}

To group selectors, separate each selector with a comma.

Related concepts

Grouping Selectors

Grouping Selectors — Structure map

Clickable & Draggable!

Grouping Selectors — Related pages: