I'm attempting to recreate this design concept.
https://i.sstatic.net/BmFNS.png
I was able to push the top circular shape out of the screen as shown in the image. However, I'm facing an issue with the bottom shape - it's just extending the webpage instead of going off the screen. How can I push it out of the screen like in the example?
#circleTop {
width: 55rem;
height: 55rem;
background-image: linear-gradient(120deg, red, yellow);
border-radius: 50%;
position: absolute;
z-index: -1;
left: 60%;
top: -35rem;
}
#circleBottom {
width: 50rem;
height: 50rem;
background-image: linear-gradient(120deg, green, blue);
border-radius: 50%;
position: relative;
z-index: -1;
right: 45%;
bottom: -35rem;
}
<div class="header">
<div id="circleTop"></div>
<div class="headerBox">
<h1>Headline</h1>
<h2>Subheading</h2>
</div>
</div>
....
<div class="footer">
<div id="circleBottom"></div>
<div class="section">
<a href="#">Link</a>
<a href="#">Link</a>
</div>
<div class="otherLinks">
<p>Lorem Ipsum Dolor Sit Amet</p>
</div>
</div>