I am wondering if it is possible to achieve a curved border (with a bump) using only CSS? At the moment I am creating curved borders for the title of my site using images:

I would like to change this to a CSS solution so that I donβt have to change the images when the amount of content as part of the changes - I need them to be dynamic and responsive, I was able to draw a curve using radius borders:

This works much better for me, but I wonder if it is possible to add a stroke to it so that it looks more like a representation of an image? Any help is appreciated. Here is the code I wrote for this:
<div class="slider"> <div class="slide"> </div> </div>
CSS
.slider { background: #21639e; } .slider .slide { background: url("image.jpg") no-repeat #21639e; border-radius: 100%/0 0 30px 30px; }
I tried adding border-bottom: 5px solid #fff; to the .slide class, but it looked like this:

I created jsfiddle to check what I'm trying to achieve.
source share