The shape is a rectangle with rounded corners, except one of the rectangles quandrants has been removed, and all corners of that quadrant have been smoothed out.
example 1 example 2
I want to build this rounded shape in HTML. The box’s size may vary based on its contents.
I understand that we may achieve this by include this shape as a image, however I am expecting any CSS code for this.
3
Answers
It is very simple to create a round cornered rectangle with a quadrant.
I am listing a short code which will fulfill your requirements but at the same time I would suggest you that this code might require little bit adjustments from your side based on your exact size and curvature requirement, div name in html etc.
I hope this will resolve your query.
Css is not best way to do it, but something like this might work, just use elements with position absolute contained to model out what you want:
CSS
HTML
HTML Code
CSS Code