Video yükleniyor...
Video Yüklenemedi
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 görüntüleme • 3 yıl önce •via X (Twitter)
4 Yorum

jhey ʕ•ᴥ•ʔ3 yıl önce
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 Hermawan3 yıl önce
@CodePen Great tip. Thanks, jhey!

blank_3 yıl önce
@CodePen How u invent this kind of stuff man

ColdHolder3 yıl önce
@CodePen @SaveToNotion #thread
