<style>
.rectangle {
width: 150px;
height: 80px;
background-color: #9C27B0;
transition: transform 0.5s;
}
.skewed {
transform: skew(20deg, 10deg);
}
</style>
</head>
<body>
<a href="#" onClick="window.history.go(-1);">Home</a><br>
<div class="rectangle" id="rect"></div>
<button onclick="document.getElementById('rect').classList.toggle('skewed')">Inclina</button>