0

There are many questions here about one triangle as bottom border, but I want to have many triangles at the bottom like in the picture below. How can it be done?

enter image description here

jakub1998
  • 400
  • 2
  • 13

2 Answers2

0

Look into ths CSS property. It allows to use images as borders

border-image: url('link-to-your-image.png') <spacing>;

https://developer.mozilla.org/en-US/docs/Web/CSS/border-image

Eriks Klotins
  • 4,042
  • 1
  • 12
  • 26
-1

I think it's an image. You can take this image and create ::before and ::after for the section you want to make a border, and set the upper triangles as a background of ::before and the lower triangles as a background of ::after and set position absolute for both before and after. Put ::before at the top to be the top border and ::after at the bottom to be the bottom border.

Mohammed Ahmed
  • 435
  • 2
  • 11