Skip navigation
psa: keep your css :has() rules tight 🙇‍♂️
0:00 / 0:17

psa: keep your css :has() rules tight 🙇‍♂️

10,976 views

psa: keep your css :has() rules tight 🙇‍♂️ no wildcards, broad targets .component:has(.something) button 🚫 agents love slappin' :has() on a landmark but that has the potential to cause huge style recalcs from rules you might think are unrelated 🧑‍🔬

Comments

Comments from the original post on X (Twitter)

No comments yet