A page whose interactive parts were converted to a directive-based runtime, and an assertion that it still works with scripting disabled. Progressive enhancement is a claim and this…
An element that starts hidden and animates in had needed a class added on the next frame, because there is no style to transition from. The requestAnimationFrame dance…
Animating an element out and then hiding it had needed a transitionend listener, because display is not animatable. allow-discrete makes a discrete property flip at the end of…
Thirty lines of JavaScript observing an element and toggling a class, replaced by four lines of CSS. The observer version also had a frame of the wrong layout…
Native nesting reached broad support this year, which removes the main reason a small stylesheet needed a preprocessor. The & is required before a type selector in the…
Styling a parent based on its children required a class toggled by script, which meant a render, a layout and a class name in two places. Three script…
A card that needed a –compact modifier wherever it appeared in a narrow column, applied by hand at every call site. The component now responds to the space…