<div>
Phần tử div thông thường
</div>
<div class="test">
Phần tử div này bị lệch 20 độ dọc theo trục X
</div>
div {
width: 300px;
height: 100px;
background-color: yellow;
border: 1px solid black;
}
.test {
transform: skew(20deg);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.