When i use:
body {background-image: linear-gradient(45deg, white 0%, grey 100%);}
But when i change the angle to 180' or 0' it makes stripes:
Well if this was what i wanted, i'd just use repeating-linear-gradient()
I tried searching it on internet, but results was always about using
repeating-linear-gradient()
. Rather than "Im having trouble with unexpected linear stripes"I poked around with the angle, it only gives me this result when it is 0 or 180 degrees. lets say when the cosinus is 0.
I figured that the problem is about the unknown height of the body element. So it repeats the small heighted
is the result with 500px height.
background-image
.And the resultant solution is:
I also realised that the tutorial i was following was showing it and i missed it cause i was focused on fixing it.