CSS Properties and Values

Properties and Values are the actual styles you can change. CSS has a pre-defined set of properties, and each property has pre-defined values you can use. Over time, you’ll become familiar with the properties and their values. See the resources section for primers that go deeper into CSS properties and their values.

Here is a list of common properties:

  • background
  • background-color
  • color
  • display
  • font-family
  • font-size
  • font-weight
  • height
  • line-height
  • margin
  • padding
  • position
  • text-decoration
  • text-transform
  • width
  • z-index