[![enter image description here][1]][1]
Hi guys, how do I change the area in the remaining area (on the right side with the white color) to blue and left side of the remaining area (on the left side with the white color) to black using css? Anyone can help me would be much appreciated. Thanks!
.upper-container {
position: relative;
/* Establishes a new stacking context */
z-index: 2;
/* Places the .upper-container in front of other elements */
background-color: black;
color: white;
height: 50vh;
border-bottom-right-radius: 5rem;
}
.lower-container {
position: relative;
z-index: 1;
/* Set lower z-index */
background-color: blue;
color: white;
padding: 20px;
height: 50vh;
border-top-left-radius: 5rem;
}
<div class="upper-container"></div>
<div class="lower-container"></div>
This is how I made the curve and I have no idea how to change the color for the remaining area outside the curve
2
Answers
I don’t know what do you mean exactly, but maybe this will help, if not tell me.
take a look at this too, maybe this is your answer.