Загрузка видео...
Не удалось загрузить видео
CSS Tip! ✨ You can use background-attachment to fix backgrounds to the viewport 🤙 card { background:radial-gradient(circle at var(--x) var(--y), ...); background-attachment:fixed; } JS to get the cursor position but use the same bg for a spotlight 🔦 CodePen.IO link below 👇
490,227 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 10

jhey ▲🐻🎈3 лет назад
Here's that @CodePen link! 🚀 Try hovering around the different cards Couple little tricks in this one that I'll elaborate on 🤓

Sara Soueidan3 лет назад
@CodePen Brilliant

jhey ▲🐻🎈3 лет назад
@CodePen "background" has so many interesting properties and use cases! 🤓

ɐʇɯon3ɹ ⚛3 лет назад
@CodePen I love it!!

Christian3 лет назад
@CodePen @TheXeii yeah okay im a dogshit dev im quitting

FK3 лет назад
@CodePen Hey Chief! you're an answered prayer! Your glowing cursor implementation was just what I needed for the "Hats I wear" section of my portfolio Hopefully the code override in Framer is pretty easy too

Dean Gibson2 лет назад
@CodePen I thought that looked familiar 🙂

Atif Riaz3 лет назад
@CodePen O man, this is beautiful 😍

𝕿𝖔𝖋𝖚 𝕯𝖆𝖉𝖉𝖞3 лет назад
@CodePen I can see Vercel using this effect on their site 👀

بدر3 лет назад
@CodePen Windows 10 vibes
