I want to cut out the both top angle from my rectangle to make it look like a house in div tags.
I tried to use the clip-path but it didn’t work. . .
<div style="max-width: 620px; height: 200px; background-color: #FFFFFF; ;"></div>
<div style="max-width: 600px; height: 700px; background-color: #ffdbbb; padding: 10px; border-bottom-right-radius: 50px;"></div>
2
Answers
Your example does not have a clip path attribute. Just adding it can create a house shape:
You can change the values to tweak the shape and size of the house.
Demonstration:
Solution using css border: