0
What is the specific code to make an image move?
Animation
3 Answers
0
transform: translate(x,y) can be used to move anything.
you can put it inside @keyframes to animate
example -
@keyframes animation{
from{
transform: translate(0px,0px)
}
to{
transform: translate(20px,20px)
}
0
Thank you Shaurya Kushwaha
0
Thanks Shaurya Kushwaha