0
Hello!
How can I build this background in a section using css? I’m a novice and started a personal project, but I can’t build that background with pure CSS. Is it possible to do this? I searched some sites, but they didn’t solve my question.
Hello!
How can I build this background in a Section using css? I’m a Newbie and Started a personal project, but I can’t build this background with Pure css. Was it possible to do it? I searched some sites, but they didn’t Solve my Doubt. i used a div with className={Style.background}
and Applied a pseudo-element.:
.background {
position: relative;
width: 100%;
height: 100vh;
background: #031f73;
display: flex;
}
.background::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 31.25rem;
background: #fff;
clip-path: polygon(100% 0, 10% 100%, 100% 100%);
}
Cara has many ways to do it, post what you have tried and we can help you by telling you where you went wrong. Doing it for you would not solve your problem
– hugocsl
Well, I put in what I did @hugocsl
– Yan Maia