I'm trying to create this border in css :
But it's not perfect because the little part in the middle of border, is curved and not straight. I don't know how to do it, with three change css, in same border.
.thing {
width: 100%;
height: 200px;
position: relative;
overflow: hidden;
}
.thing::before,
.thing::after {
content: '';
z-index: 1;
position: absolute;
}
.thing::before {
border-top: 2px solid black;
left: 0;
right: 0;
top: 0;
height: 2px;
border-color: grey;
}
.thing::after {
border-radius: 0%;
left: 0%;
right: 60%;
height: 300px;
border: 2px solid black;
top: -234px;
background-color: white;
border-left: 0px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 150px 100px;
border-color: grey;
}
html {
margin: 3em;
}
<div class="thing"></div>
Could you help me ? Thanks in advance