Animation( HTML / CSS) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Animation( HTML / CSS)

How can I make an image animate horizontally? https://code.sololearn.com/WlUOKFKN0byE/?ref=app

6th Apr 2020, 4:43 AM
Prantish Narzary
Prantish Narzary - avatar
4 Answers
+ 2
That's just two basic examples, wich could inspire you: an html image element can be animated as any html element trough css (and also through js, of course), as well as any svg image element could be animated as any svg (shape at least) element trough svg (and css too, and js obviously). Animation through JS requires to be a bit skilled with this language, so for many, learning CSS or SVG animations would be easier ;)
6th Apr 2020, 1:42 PM
visph
visph - avatar
0
Thanks Visph, but actually I wanted to use an actual picture (like a personal photo or something like that) for animation not SVG images.
6th Apr 2020, 1:37 PM
Prantish Narzary
Prantish Narzary - avatar
0
Thank you Visph
6th Apr 2020, 1:51 PM
Prantish Narzary
Prantish Narzary - avatar