Floating affect | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Floating affect

I want to know how to make an element appear to float when the mouse is over it using js or CSS. Can anyone help me?

4th Jun 2018, 7:29 PM
Daniel Cooper
Daniel Cooper - avatar
1 ответ
- 1
Use transition on the element you want to hover over, and on hover add scale(), or box shadow...or combine both... Try it, play around... It will inspire you further...
4th Jun 2018, 10:16 PM
Sladjana Dragic
Sladjana Dragic - avatar