Загрузка видео...
Не удалось загрузить видео
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 ʕ•ᴥ•ʔ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 Hermawan3 лет назад
@CodePen Great tip. Thanks, jhey!

blank_3 лет назад
@CodePen How u invent this kind of stuff man

ColdHolder3 лет назад
@CodePen @SaveToNotion #thread
