Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

Profilbild von jhey ʕ•ᴥ•ʔ
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 😎

Profilbild von Heru Hermawan
Heru Hermawanvor 3 Jahren

@CodePen Great tip. Thanks, jhey!

Profilbild von blank_
blank_vor 3 Jahren

@CodePen How u invent this kind of stuff man

Profilbild von ColdHolder
ColdHoldervor 3 Jahren

@CodePen @SaveToNotion #thread

Ähnliche Videos