I'm attempting to add a slight curve to the center of my background color. I'm attempting I am applying a linear gradient background color which will then cut off and turn into a white background.
I'd like to apply this slight curve in the center which can be seen here:
I've attempted to accomplish this by adding a border-bottom left and right radius to curve the background which does work but the curves are applied more on the edges whereas I am attempting to curve slightly from the center.
Here is an example of my code:
.content-container {
height: 150px;
background: linear-gradient(180deg, #FAFDFF 0%, #E8F3F9 100%);
border-bottom-left-radius: 13%;
border-bottom-right-radius: 13%;
}
<div class="content-container">
<p>Testing</p>
<br/>
<br/>
<p>Testing</p>
</div>
I've attempted to try and do negative percentages to possibly focus the curve more towards the center like the image above but I have had no luck. How can I achieve something similar to the image above?
