Floating affect | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antwort
- 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