+ 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
7 Answers
+ 8
You are welcomeđ
+ 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%;
}
+ 3
because It is linear-gradient i think
+ 1
That worked, now the gradient doesn't repeat. Thanks!
0
the only gradients are linear gradient and radial gradient and I don't want a radial gradient.
0
And i want a gradient from the bottom to the top
0
So linear gradient