Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
div {
  width: 100px;
  height: 100px;
  background-color: lightgreen;
  border: 2px solid black;
  padding: 10px;
  margin-bottom: 25px;
}
#myDiv1 {
  transform: skewX(15deg); /* skews the element 15 degrees along the x-axis */
}
#myDiv2 {
  transform: skewX(30deg); /* skews the element 30 degrees along the x-axis */
}
#myDiv3 {
  transform: skewX(-25deg); /* skews the element -25 degrees along the x-axis */
}
</style>
</head>
<body>
<h1>The skewX() function</h1>
<div>
This a normal div element.
</div>
<div id="myDiv1">
Div1.
</div>
<div id="myDiv2">
Div2.
</div>
<div id="myDiv3">
Div3.