+ 1
Stripey sky
I feel so stupid right now, why can't I make a simple vertical linear gradient without stripes? https://code.sololearn.com/WuhaN5BxX6KJ/?ref=app
2 Respostas
+ 1
Just add width and height in CSS.
like this:
body{
background-image: linear-gradient(blue, teal);
width:100%;
height:600px;
}
0
Thank you! But why does it require a limited area? None of the other directions does that so why should the default one? 😅