Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 ʕ•ᴥ•ʔ profil fotoğrafı
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 Hermawan profil fotoğrafı
Heru Hermawan3 yıl önce

@CodePen Great tip. Thanks, jhey!

blank_ profil fotoğrafı
blank_3 yıl önce

@CodePen How u invent this kind of stuff man

ColdHolder profil fotoğrafı
ColdHolder3 yıl önce

@CodePen @SaveToNotion #thread

Benzer Videolar