web page lines in nextJS
can anyone explain me what causes theses lines to appear? even if i only have a p tag and button tag
4 Replies
the body by default has no height, it takes the height of the content.
If the body does not fill the full height of the screen, the background will be repeated on the canvas.
oh these lines will dissappear if i set a height in the body?
yep, give it a min-height of 100vh for example
or, even better
(html takes 100% of the window/canvas, body takes 100% of the html)
oh thanks!