html / css Why this code doesn't works ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

html / css Why this code doesn't works ?

the animation doesn't match, why? https://code.sololearn.com/W60jbRdd07lo/?ref=app

15th Sep 2017, 8:23 PM
NoxFly
NoxFly - avatar
8 Answers
+ 7
from @Burey, it's my phone which has not a recent update (4.4.4 on android) so I can't see moving the blocks
17th Sep 2017, 3:48 PM
NoxFly
NoxFly - avatar
+ 6
amazing ying & yang O.o ok I will try :)
17th Sep 2017, 5:39 PM
NoxFly
NoxFly - avatar
+ 4
You could try prefixfree, which is just doing what Andrew mentioned by an import. I include it in this code, which worked for Maz: https://code.sololearn.com/WLZFqkui99gM/?ref=app
17th Sep 2017, 4:56 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
but why your code works just with 'animation' then me not ?
17th Sep 2017, 5:43 PM
NoxFly
NoxFly - avatar
+ 3
That's dope. works for me
17th Sep 2017, 5:46 PM
Son Goku
Son Goku - avatar
+ 2
Doesn't match what? If you want all the squares to move at once, adjust the delays at lines 8, 19, 30 and 41. They are currently 0.3s offset from each other.
17th Sep 2017, 3:46 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
prefixfree adds the prefixes @Andrew recommended automatically. Though this is the 'right' way to do it, technically​ Andrew was first here.
17th Sep 2017, 5:45 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
This is the author / source; I forgot to link it. Apparently there's a jQuery plugin. I linked my copy to rawgit -> github, other people (like ValentinHacker) use dropbox. https://leaverou.github.io/prefixfree/
17th Sep 2017, 5:53 PM
Kirk Schafer
Kirk Schafer - avatar