6.2 CSS selectors

  • CSS selectors define on which elements to apply CSS rules.

  • Table of basic CSS selectors.

  • A web page where this subchapter’s CSS code is applied, can be found in the folder examples/chapter-06/css-selectors of this book’s GitHub repository.

  • It’s recommended to use such web page in order to follow along the examples in this subchapter.

  • Aditionally, another page showcasing common CSS properties can be found in the repo folder examples/chapter-06/common-css