Flashcards
Selectors and pseudo-classes, the cascade and layers, inheritance, custom properties, units, colors and typography, plus animation basics.
What do these selectors mean: a b, a > b, a + b, a ~ b?
a b
a > b
a + b
a ~ b
Tap to flip
a b: any b descendant of a
b
a
a > b: b that is a direct child of a
a + b: the b immediately after a (adjacent sibling)
a ~ b: every b sibling after a (general sibling)
Tap to see the front