css make bottom of the div triangle code example
Example 1: css make bottom of the div triangle
.clipped {
clip-path: polygon(100% 0%, 100% 70%, 50% 90%, 50% 90%, 0 70%, 0 0);
}
img {
max-width: 100%;
width: 100%;
}
Example 2: css make bottom of the div triangle
<div class="clipped">
<img src="https://loremflickr.com/1280/720">
</div>