Is it possible to create a div with a unique shape? I know that by default, divs are rectangular and you can achieve some shapes using the border-radius property, but what I really want is a semi-leaf shaped element. Something like this:
The image might not be perfect, but that's the kind of shape I'm going for. How can I create such a design?
I don't just want a shape, I want an element that has this specific shape and can hold other elements within it.
The problem I'm facing when trying to use border-radius is that I have floated images inside the div. When applying border-radius, they either get clipped in Firefox or overflow in WebKit browsers. How can I ensure that all content stays strictly within the boundaries of the shaped div?