I want to give this trapezium a left tilt. I am not sure how to achieve this effect.
Below is the code I'm working with:
* {
margin: 0;
padding: 0;
background-color: white;
}
/* creating the trapezium shape*/
.trapezium {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 0;
width: 150px;
border-bottom: 150px solid yellow;
border-left: 100px solid transparent;
border-right: 100px solid transparent;
}
<div class="trapezium"></div>