Selector list

noun

say it: “suh-LEK-ter list” /səˈlɛktər lɪst/

Several CSS selectors separated by commas that share one set of styles.

What is a selector list?

A selector list gives the same styles to several selectors at once, separated by commas.

h1, h2, h3 {
  font-family: "Trebuchet MS", sans-serif;
}

In a sentence

  • “The selector list h1, h2, h3 gives all three headings the same font.”

Level: Novice · More CSS terms at this level

Updated