Transition and translate functions combined. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Transition and translate functions combined.

Is it possible to somehow combine the transition property with any translate function? say i wanna make a div scale up when its hovered with a time delay of 3 seconds.... is it possible?

23rd Dec 2017, 7:22 AM
Khalil Mohammad Khoucheich
Khalil Mohammad Khoucheich - avatar
1 Answer
+ 3
Transiotion is an effect But transform is an action : div { transition: transform 1s; } div:hover { transform: skewX(-20px); }
23rd Dec 2017, 7:39 AM
Iman Jamaatlou
Iman Jamaatlou - avatar