Hey there, I've encountered a little issue. I managed to create a diagonal shape on my webpage similar to the one shown in this image: https://i.sstatic.net/tMgpd.png
Now, what I'm aiming for is something like this: https://i.sstatic.net/xToz7.png
I'm looking to achieve a shape resembling the one outlined by the blue dotted line. Despite my efforts to tweak and adjust the values of the initial shape, I haven't had any luck. Please note that the two shapes - the existing one and the one outlined by the dotted line - need to be distinct.
Hopefully, someone can assist me in achieving this. Additionally, it's crucial that there is no space between the bottom of the first shape and the one I intend to create.
Below is the HTML and CSS code for the current shape:
.BeginToday9 {
text-align: center;
font-size: 22px;
padding-left: 425px;
padding-right: 425px;
background-color: #2ecc71;
color: white;
z-index: 1;
-webkit-transform: skewY(5deg);
-moz-transform: skewY(5deg);
-ms-transform: skewY(5deg);
-o-transform: skewY(5deg);
transform: skewY(5deg);
}
.BeginToday9>.wrapper {
-webkit-transform: skewY(-5deg);
-moz-transform: skewY(-5deg);
-ms-transform: skewY(-5deg);
-o-transform: skewY(-5deg);
transform: skewY(-5deg);
}
<div class="BeginToday9" style="height: 500px; text-align: center; margin-top: 0;">
</div>
Best regards, Satanshu Mishra