How to move an image in CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to move an image in CSS

I've been trying to move images in CSS,through many different codes,but it doesn't seem to work. How can I move them?(NOTE: I'm using basic HTML,not HTML5 or XHTML)

8th Feb 2018, 6:08 AM
Giovanni
Giovanni - avatar
4 Answers
+ 7
then use the word "positioning" in the first place ._.
8th Feb 2018, 7:13 AM
Burey
Burey - avatar
+ 6
you can set your image position relative and use @keyframes animtaion to set a new location in each step https://code.sololearn.com/W603ifI3zu3W/?ref=app
8th Feb 2018, 6:34 AM
Burey
Burey - avatar
+ 3
8th Feb 2018, 6:12 AM
MBZH31
MBZH31 - avatar
+ 1
thanks guys,but I meant positioning the image
8th Feb 2018, 6:58 AM
Giovanni
Giovanni - avatar