Is there a way to change the shape of a div using CSS or jQuery like shown below?
https://i.sstatic.net/mQUkk.jpg
I have some content inside the div, for example, Lorem ipsum... But I would like the shape to be transformed using CSS. Is this possible?
#shape {
-moz-transform: skew(26deg, 0deg);
-webkit-transform: skew(26deg, 0deg);
-o-transform: skew(26deg, 0deg);
-ms-transform: skew(26deg, 0deg);
transform: skew(26deg, 0deg);
}
<div id="shape">Lorem ipsum...</div>