CSS3 Transforms | The skew() Method

The skew() method skews an element along the x-axis and the y-axis by the given angles.

#div7 {
	width: 200px;
	height: 100px;
    background-color: orange;
	margin-bottom: 30px;
}
#div7:hover {
    transform: skew(30deg, 2deg);
}

Note:
If the second parameter is not specified, it has a zero value.

Leave a Reply