Having problem with my animation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Having problem with my animation

I gave my div an animation name and used the name with the @keyframes to display some animations...but the output is not yielding any result..Any advice's??

14th Jun 2017, 9:40 AM
Dillion
Dillion - avatar
9 Answers
14th Jun 2017, 9:59 AM
Dillion
Dillion - avatar
+ 1
Please share your code without it we can't help u...
14th Jun 2017, 9:59 AM
Rajeev Jain
Rajeev Jain - avatar
+ 1
just put something in the div....I made it black BG so that only the white for the border top color will animate
14th Jun 2017, 10:12 AM
Dillion
Dillion - avatar
+ 1
still not animating
14th Jun 2017, 10:12 AM
Dillion
Dillion - avatar
+ 1
border has to be black to rhyme with the bg color so that on 25% the border top color would b Grey..but the Grey is not apearing
14th Jun 2017, 10:19 AM
Dillion
Dillion - avatar
0
Could you share your Code Playground's code?
14th Jun 2017, 9:55 AM
Calviղ
Calviղ - avatar
0
There is nothing in your HTML, so nothing to animate. Black bg covers by black bg
14th Jun 2017, 10:02 AM
Calviղ
Calviղ - avatar
0
Your animation is running, just everything is in black color so you can't see it. • Delete your body background black color. • Make animated border to other color. like border:5px solid white;
14th Jun 2017, 10:08 AM
Calviղ
Calviղ - avatar
0
Make animated border to other color, NOT BLACK. like border:5px solid white;
14th Jun 2017, 10:13 AM
Calviղ
Calviղ - avatar