Trying to achieve a background on a page that is "split in two"; two colors on opposite sides, do this with linear-gradient but if some element(div) large height background color repeat
<body>
<div class="blocktest">
test
</div>
</body>
css :
body {
background-image: linear-gradient(#000 50%, #ffffff 0%);
height:100vh;
}
.blocktest {
height:1500px;
}
I want 50% of the page color1 and the rest of the page color is color2