Why is my code not displaying properly on Mobile? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is my code not displaying properly on Mobile?

Update: I figured out the issue, working just fine now (no idea why it worked at all before). I created a Canadian flag animation for Canada day (July 1st). However, on the SoloLearn app it does not display as intended. The Canadian flag is a red rectangle on each side and a Maple leaf on a white square in the center. On desktop it displays as intended, but on the app there's only a red rectangle (no white square). Here's a link https://code.sololearn.com/W0GP69FS8F8j

3rd Jul 2018, 4:56 AM
YosG
6 Answers
+ 2
not display?
3rd Jul 2018, 5:03 AM
Calviղ
Calviղ - avatar
+ 2
It works on code playground
3rd Jul 2018, 5:08 AM
Calviղ
Calviղ - avatar
+ 2
yeah
3rd Jul 2018, 5:10 AM
Calviղ
Calviղ - avatar
0
Did you check on the app?
3rd Jul 2018, 5:09 AM
YosG
0
Have you tried with vendor rules (at example -webkit-)? Try to add -webkit- vendor rule on front of animation like rules and keyframe: Example: @-webkit-MyAnim{....} p{ animation: MyAnim; animationd-delay: 1s; -webkit-animation: MyAnim; -webkit-animationd-delay: 1s; }
3rd Jul 2018, 5:10 AM
KrOW
KrOW - avatar
0
The animation works just fine, it's missing the center white square.
3rd Jul 2018, 5:15 AM
YosG