I need to create such a figure, but I do not know how to cut corners. A border comes to mind through after and before with overflow: hidden, but I don’t know how to implement it.
Here is my figure with the background:
.title-head { width: 358px; height: 80px; background-image: linear-gradient(180deg, #d6c0a6 0%, white 100%, #ff3f00 100%, white 100%); } <div class="title-head"> </div> 