I want to be able to round out the 3 leftmost corners on this shape that I have created, any idea how that can be done?
div {
position: absolute;
z-index: 1;
width: 423px;
height: 90px;
background-color: #b0102d;
color: white;
right: 0;
margin-top: 10vw;
-webkit-clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
}
<div></div>
polygon
supports curves. - sarasoueidan.com/blog/css-svg-clipping – Glorifyclip-path
supports only basic shapes (like polygon, circle). It does not support a combination of shapes or paths and you would have to use SVG (inline or external) for that. – Tittivateinset()
:clip-path: inset(0 0 0 0 round 10%);
– Solidago