CSS Selectors

  • Mark J. Collins
Chapter

Abstract

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.

Keywords

Attribute Selector Element Selector Style Sheet Head Element Complex Selector 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Mark J. Collins 2017

Authors and Affiliations

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

Personalised recommendations