jhey ʕ•ᴥ•ʔ @jh3yyhighlighting 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);
}Feb 5, 2025 View on X →https://x.com/jh3yy/status/1887245206418038860Wednesday, February 5, 2025