Notes
CSS and HTML guides with working examples
The longer answers. Why a rule that looks right does nothing, where engines disagree, and what to write instead.
- #03 Hover in HTML: CSS :hover and sticky states on phones HTML leaves hover to CSS, and a tap on a phone sets it the way a mouse does, sometimes until the next tap.
- #02 OKLCH vs HSL: generate a color palette in CSS Rotate a hue in HSL and the lightness wanders off with it. Do the same in OKLCH and a whole palette falls out of one custom property.
- #01 CSS range slider thumbs: Firefox vs Chrome and Safari Firefox says range where WebKit says slider, and a rule that names both styles nothing at all.