I'm having problem with duplicating body area, wchich looks like this:
How to fix it?
You can change the background-size to fit the whole element by using background-size:cover
.
body {
width:100%;
height: 600px;
background: linear-gradient(red, yellow);
background-size: cover;
}
this should fix it, the background will only show once
body {
background-repeat: no-repeat;
}