+ 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

19th Aug 2021, 11:04 AM
Andrea Icana
2 Answers
+ 1
Just add width and height in CSS. like this: body{ background-image: linear-gradient(blue, teal); width:100%; height:600px; }
19th Aug 2021, 11:11 AM
FꫀâČ…áƒ«á„†ÍŸá„™á„‰áŻœ
FꫀâČ…áƒ«á„†ÍŸá„™á„‰áŻœ - avatar
0
Thank you! But why does it require a limited area? None of the other directions does that so why should the default one? 😅
19th Aug 2021, 11:20 AM
Andrea Icana