0

I generate my pages background using a radial/linear gradient, specifically:

background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), linear-gradient(to bottom, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), linear-gradient(135deg, #670d10 0%,#092756 100%);

When viewing pages larger than 1920x1080 and scrolling on the y axis I get a line between the original gradient and the continuation that looks like:

enter image description here

I want to get rid of this line somehow so that when a user scrolls down the page, everything appears seamless.

How can I do this in CSS?

Sogetsue
  • 145
  • 10

1 Answers1

0

That seems to work as suggested by Temani Afif 15 mins ago html {min-height: 100%}

html {
  min-height: 100%;
}

body {
  background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), linear-gradient(to bottom, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), linear-gradient(135deg, #670d10 0%, #092756 100%);
}
<body>
</body>
IT goldman
  • 14,885
  • 2
  • 14
  • 28