linear-gradient question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

linear-gradient question

So I have this code. https://code.sololearn.com/WtdYtTgZ2HYU/?ref=app The linear gradient was fine on the sololearn website. Why do I need the background-repeat property on the mobile app?

17th Sep 2018, 12:57 PM
Daniel Cooper
Daniel Cooper - avatar
3 Answers
+ 2
Due to the fact that, Code Playground code run on webview. By default, Sololearn app didn't set the height of webview body to 100%. add this code on CSS should resolve the issue. html, body { height: 100%; } https://code.sololearn.com/Wz1xbCu8TVlb/?ref=app
22nd Sep 2018, 2:15 AM
Calviղ
Calviղ - avatar
+ 1
Thanks my dude.
22nd Sep 2018, 4:15 AM
Daniel Cooper
Daniel Cooper - avatar
0
Same issue here Samsung S4 Android 8.1 & 5.1 Updated webview
19th Sep 2018, 9:38 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar