Video wird geladen...
Video konnte nicht geladen werden
CSS Tip! 🤙 You could use CSS :has() to power a context-aware custom cursor experience 👆 :root:has(.player:hover) {--active: 1;} .cursor {scale: var(--active);} :root:has(.player:hover > [aria-label="Pause"]) .cursor-pause-icon { display: block; } CodePen.IO link below! 👇
261,705 Aufrufe • vor 3 Jahren •via X (Twitter)
4 Kommentare

jhey ʕ•ᴥ•ʔvor 3 Jahren
Here's that @CodePen link! 🚀 You'll need to be in a browser that supports CSS :has() ⚠️ Messing around with ideas for the play button challenge. The cursor is shared between the videos which is neat 😎

Heru Hermawanvor 3 Jahren
@CodePen Great tip. Thanks, jhey!

blank_vor 3 Jahren
@CodePen How u invent this kind of stuff man

ColdHoldervor 3 Jahren
@CodePen @SaveToNotion #thread
