I want to have a triangle shaped background in my project.
I've already tried some things and the top arrow / triangle works (see example https://i.stack.imgur.com/ZKgWP.jpg).
But I think it looks better if I could do the same on the bottom.
This is the code that worked for the top:
.secondSection {
padding-top: 75px;
background-image: linear-gradient(-4deg, #ff7a7d 300px, transparent 0),
linear-gradient(4deg, #ff7a7d 300px, transparent 0);
text-align: center;
min-height: 300px;
}
I can't find the right information on the internet on how to create a simple cut in the div... I rather don't use a svg. Can someone advise me where to look?