I'm in pursuit of this: https://i.sstatic.net/HYbC1.jpg
What I currently possess is:
<div class="row slantrow">
<div class="row slant-inner">
<div class="col-md-6 slant-left">
<p>text</p>
</div>
<div class="col-md-6 slant-right">
<p>text in another div</p>
</div>
</div>
</div>
Along with some CSS:
.slant-left {
}
.slant-right {
background-color: antiquewhite;
}
.slantrow {
background-color: bisque;
}
.slant-inner {
width: 1100px;
margin: 0 auto;
}
I am aiming to make DIV1 (60% of the width) and DIV2 (40% of the width) together fill the width of the page content.
Challenges at hand:
- Implementing a slanted border for DIV2
- Extending the background color of DIV2 beyond its parent container
What would be the best approach to achieve the desired appearance shown in the image?