CSS Selectors

css 2.1 selectors

CSS Comments

Note the use of comments in CSS -- they start with /* and end with */. Comments can be on a single line or multi-line.

p.vibrate {
  /* These paragraphs will vibrate off the page! */
  color: red;
  background-color: blue;
}
p.subtle {
  /* These paragraphs will 
     be subtle and 
     probably hard to read */
  color: white;
  background-color: gray;
}

Copyright © David Heitmeyer