Basic CSS notes

From Knowledge Kitchen
Jump to: navigation, search


How to use CSS

Every CSS style consists of:

  • selectors
  • blocks
  • rules
    • properties and values


Fonts

Web-safe fonts

There are only a few fonts that are cross-browser compatible:


More fonts

There are growing number of Javascript-based font libraries that allow you to seamlessly integrate more fonts into web pages:

Basic CSS examples

Layout examples