What is the code to allow your image to move | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the code to allow your image to move

11th Feb 2017, 12:31 AM
isaka frye
isaka frye  - avatar
3 Answers
+ 1
There's not an unique code "to allow your image to move"... there are many ways to do that ( search in shared code playground, you will find many examples ), depending too of what kind of element and animation you want to do. Anyway, you don't need code "to allow your image to move"... as all element are allowed to move, but you need code to be able to handle their moves ^^ Post your web code, be more accurate in your ask / description of what move you want to perform, and we could help you to reach your goal ;)
11th Feb 2017, 4:22 AM
visph
visph - avatar
+ 1
You can use marquee tag but rember it is no longer supported by html5. If you are biggener and just want to work it out you can use it else try using javascript or jquery <marquee> <img src="imagefile.png" > </marquee>
11th Feb 2017, 5:05 AM
Abishek Bashyal
Abishek Bashyal - avatar
0
For animations you can use CSS transitions, transforms, keyframes and/or JavaScript. HTML is for the structure of the page.
11th Feb 2017, 1:09 AM
ChaoticDawg
ChaoticDawg - avatar