J
jhey ʕ•ᴥ•ʔ @jh3yy
Wednesday, February 5, 2025 import

Tweet

<table> highlighting with CSS :has() 💡 td:has(~ td:hover), /* previous sibling cells */ table:has(td:nth-of-type(3):hover) /* column cells */ tr:not(:first-of-type):has(~ tr:hover) td:nth-of-type(3) { background: var(--highlighted); }