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

CSS Animation

Please which other elements can i use in animation apart from background-color(Changing background color from one color to another). Answers are needed Please. Anyone that has a code should attach it for better explanation and so i can understand better.

24th Sep 2019, 12:32 PM
Esu Gabriel
Esu Gabriel - avatar
4 Answers
+ 3
I'm not sure if you meant properties instead of elements, but I'm making that assumption anyone. Here is a list of animatable CSS properties https://www.w3schools.com/cssref/css_animatable.asp
24th Sep 2019, 1:09 PM
ODLNT
ODLNT - avatar
0
@Fatkhullo Ubaydullaev I am learning Sololearn now and i am in that particular lecture.
24th Sep 2019, 1:51 PM
Esu Gabriel
Esu Gabriel - avatar
0
Hi, Apart from changing background color you can also change particular element`s direction of animation i.e. clockwise or anti-clockwise. Other than this you can also change its height and width. In other case you can set its position on % bases. for example, lets say on 20% that object should be on top right side than on 50% it should be on bottom right etc. This is how you can perform animation in different styles.
27th Sep 2019, 4:28 AM
Ishan Shah
Ishan Shah - avatar
0
there are many actions you can do with animations, for example change element’s position, color. what do you need to do?
19th Oct 2019, 5:21 PM
Lilit Yeghiazaryan
Lilit Yeghiazaryan - avatar