CSS Selectors

  • Mark J. Collins


A style sheet is a set of styling rules, and each rule consists of a selector and one or more declarations. A selector determines what elements the rule should apply to; the declaration specifies a style attribute that is being set. In this chapter I will demonstrate the capabilities that are available when constructing the selectors. The remaining chapters in this section will explain all the wonderful things you can do with CSS once you've selected the appropriate elements.


Prefix Active Element Padding 

Copyright information

© Mark J. Collins 2017

Authors and Affiliations

  • Mark J. Collins
    • 1
  1. 1.ChesterfieldUSA

Personalised recommendations