Why is the background doing that weird | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is the background doing that weird

The background repeats itsself on my phone, how is that working and how can i fix it https://code.sololearn.com/Wb56j9H1t41v/?ref=app

20th Apr 2018, 12:14 PM
Roel
Roel - avatar
3 Answers
+ 21
html { background:linear-gradient(50deg, #12faaf, #faaafa) no-repeat; background-size:100vw 100vh; } /* try this */
20th Apr 2018, 12:22 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 19
viewport
20th Apr 2018, 5:09 PM
Valen.H. ~
Valen.H. ~ - avatar
0
thanks, but what exactly does vw and vh stand for? .......width and .......height
20th Apr 2018, 4:07 PM
Roel
Roel - avatar