I am working on decorating the bottom of my page with a repeated triangle design. The image provided only displays one triangle, but I would like to extend it across the entire horizontal div.
Here is a screenshot of my progress so far: https://i.stack.imgur.com/JJA6D.png
<div class="container triangle"> </div>
.triangle {
width: 0px;
height: 0px;
border-style: solid;
border-width: 15px 15px 0 15px;
border-color: #c2cf31 transparent transparent transparent;
background-color: white;
}
I am wondering if it is feasible to achieve this effect using CSS or if I need to resort to using an image as a background?
Appreciate any assistance on this matter. Thank you.