You want these “You want…” tips
The “You want…” post format has been making the rounds, and while its imperative tone is more forceful than usual, the idea behind it—sharing a best practice that may not be well-known enough—has appeal.
- Killian got things started with “You want
overflow: auto, notoverflow: scroll.” - The follow-up: “You want
minmax(10px, 1fr)not1fr.” - Bramus wrote “You want
:not(:focus):invalid, not:invalid.” - Andy skipped the title convention, but the tip fits: “Add scroll margin to all elements which can be targeted.”
Have an idea in this vein? The encouragement is to blog it—here or elsewhere.




