1

I am currently having issues with CSS it does this weird repeating thing even though when I worked on it, it was fine before. Then I started tweaking it and now it's just constantly repeating this is the code I did below.

body {
 background-image: linear-gradient(#e66465, #9198e5);
} 

This is what turns up when you go to the webpage.

Screenshot

Screenshot

Temani Afif
  • 245,468
  • 26
  • 309
  • 415
  • 3
    You are required to post a [mcve] here, **within your question**, and [not a link](https://meta.stackoverflow.com/questions/254428/something-in-my-web-site-or-project-doesnt-work-can-i-just-paste-a-link-to-it) to any third party site. – Rob Feb 21 '20 at 02:14

1 Answers1

2

You need to set height to your html and body so that it doesnt just wrap your existing elements

html, body { height: 100% }

try adding this

Gene Sy
  • 1,325
  • 2
  • 10
  • 17