3 Réponses
+ 2
It is enough to write:
(CSS)
div {
...
position: relative;
}
+ 3
What is the question??
https://www.sololearn.com/Discuss/3021159/?ref=app
+ 1
I think you're using the wrong property/attributes to animate. I changed your code here, and it works (but it's not what you want):
https://sololearn.com/compiler-playground/W9V9cWOCofs3/?ref=app
I think you want to look up transform...
https://www.sololearn.com/discuss/2064428/?ref=app
https://www.sololearn.com/discuss/244893/?ref=app