clip-path: polygon() on an
<img>, is there a way of having the parent element collapse to the edge of the clip, or make the image stretch out the other way towards its parent?
I know I can do it to some extent with negative margins, but that feels awfully kludgy, and I can't help feeling there ought to be a better approach to it.
The snippet below is the one I'm using, and gets me the right section of the image, now I just need the edge of its parent to snuggle up to it.
clip-path: polygon(21% 95%, 80% 95%, 70% 14%, 21% 14%);