+ 1

Is it just my phone or is it everyone else's?

I was styling the background of a code using gradient but when I ran the code, two same gradients appeared in the background, each taking up half the screen. Is it just my phone or is it everyone else's? https://code.sololearn.com/W6ah7jbXHK8E/?ref=app

9th May 2018, 9:25 AM
Haziq Hairil
Haziq Hairil - avatar
7 Respostas
+ 8
You are welcome👍
9th May 2018, 9:51 AM
NezhnyjVampir
+ 7
No, it's not just your phone, my tablet shows several gradients. To stretch the gradient, you have to add this: html { height: 100%; }
9th May 2018, 9:47 AM
NezhnyjVampir
+ 3
because It is linear-gradient i think
9th May 2018, 9:31 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
That worked, now the gradient doesn't repeat. Thanks!
9th May 2018, 9:49 AM
Haziq Hairil
Haziq Hairil - avatar
0
the only gradients are linear gradient and radial gradient and I don't want a radial gradient.
9th May 2018, 9:34 AM
Haziq Hairil
Haziq Hairil - avatar
0
And i want a gradient from the bottom to the top
9th May 2018, 9:35 AM
Haziq Hairil
Haziq Hairil - avatar
0
So linear gradient
9th May 2018, 9:35 AM
Haziq Hairil
Haziq Hairil - avatar