I am making a social network, and I'm using linear-gradient(#dadae3, white)
. This works, however a section at the bottom with the color #dadae3
shows at the bottom. I do not have an element for this section.
Screenshot:
I am looking for a solution to get rid of this gray section. Thanks!
Your background gradient is just repeating there because of lack of
of theheight
body
element(I assume you are using gradient onbody
element), also make sure you have set yourbackground-repeat
tono-repeat
Demo