© Joe Attardi 2020
J. AttardiModern CSShttps://doi.org/10.1007/978-1-4842-6294-8_4

4. Basic Styling

Joe Attardi1 
Billerica, MA, USA

By now, you have a solid grasp of the main underlying concepts of CSS. Now it's time to dive in and start learning some CSS properties and styling techniques. We'll start with the basics in this chapter.

Property values

First, a few notes on CSS property values.

Global keywords

Most CSS properties support several global keywords as their values:
  • initial: Uses the initial value set by the browser’s built-in style sheet.

  • inherit: Takes the value used by the element’s parent.

  • unset: If the property naturally inherits from its parent, such as font-size, it is set to the inherited value. Otherwise, it is set to the initial ...

Get Modern CSS: Master the Key Concepts of CSS for Modern Web Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.