+ 1
How to add a negative value to a translate
https://code.sololearn.com/WjnIZm8jznuL/?ref=app i want to move that image -10px
5 Réponses
+ 1
check it bro
https://code.sololearn.com/WIk80Sp9CC6n/?ref=app
+ 5
@keyframes recoil{
to {
transform: translateX(-10px);
}
}
+ 2
thanks mahdi and calvin bro
+ 2
For better performance, you should use translateX rather than left
+ 1
Calviղ thanks for your suggestion!