Loading tutorials
color and margin. Later chapters build on the vocabulary introduced here.3 min readcolor and margin. You should also recognize the parts of a rule: a selector, then a block of dec3 min read* matches, why it adds nothing to specificity, and where it causes surprises.3 min reada.note), and read a CSS rule. It builds on those selectors and feeds into the specificity chapters that follow.2 min read:hover work. Pseudo-elements look similar but do a different job.2 min read> and +. Here you will learn how to turn any selector into a score and compare two scores.2 min read!important does.2 min read!important, and @layer affect the cascade. Here you will use that knowledge to write CSS that stays easy to override.3 min read