Well, I have a% d of% that has box2-1
at 100%. I want to create a% div of% that has width
in 100%, but that maintain the background with two colors, to have an effect of a pie div. Can anyone help me?
Follow the code. The problem is that I am not able to put the div box2-2
with width
to 100%.
.box2-1 {
width: 100%;
height: 500px;
background-color: #FF895B;
}
.box2-2 {
border-right-width: 899px;
border-right-style: solid;
border-right-color: rgb(255, 137, 91);
bottom: -60px;
border-bottom: 60px solid transparent;
}
<div class="box2-1">
</div>
<div class="box2-2"></div>