psa: keep your css :has() rules tight 🙇♂️
jhey ʕ•ᴥ•ʔ
Visit on X@jh3yy149K followers
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
