So I found this question: Can I create a div with a Curved bottom?
Thanks to it I managed to make a curved bottom of an image, using code below:
border-radius: 0 0 50% 50% / 15%;
overflow: hidden;
It looks like that:
(practically). Everything would be nice but… I need the curve to be totally opposite way:
How can I do that with clean CSS?
Try this:
You can’t do it with just one div. Border-radius doesn’t work that way. However, you can achieve something like that with multiple elements. Overlay a second div on the first with a curved top, masking part of the upper div. If you like, enclose it all in a container with overflow: hidden; to obscure the bottom part of the overlay div.
Here’s the codepen: http://codepen.io/anon/pen/JKjNPa