I'm trying to add a custom text layout in a div by using shape-outside and clip-path. It does work as intended except one thing - parent height is not fixed so
It's a rectangle inside a shape。 -webkit-clip-path: polygon(0% 0%, 0% 100%, 25% 100%, 25% 25%, 75% 25%, 75% 75%, 25% 75%, 25% 100%, 100% 100%, 100% 0%