Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 4

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ3 лет назад

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
Heru Hermawan3 лет назад

@CodePen Great tip. Thanks, jhey!

Фото профиля blank_
blank_3 лет назад

@CodePen How u invent this kind of stuff man

Фото профиля ColdHolder
ColdHolder3 лет назад

@CodePen @SaveToNotion #thread

Похожие видео