Answers for "css triangle shape bottom of div"

CSS
0

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%;
}
Posted by: Guest on March-05-2021
0

css make bottom of the div triangle

<div class="clipped">
  <img src="https://loremflickr.com/1280/720">
</div>
Posted by: Guest on March-05-2021

Browse Popular Code Answers by Language