Explains how CSS shorthand properties such as background, margin and inset can cause unexpected problems in stylesheets, and shows longhand alternatives. Covers when shorthands are still reasonable to use. Aimed at developers who already write CSS.
What you’ll learn
✓Spot unintended side effects of the background shorthand property
✓Replace margin shorthands with longhand properties to avoid conflicts