rotate
You can use rotate() within transform style declaration. Pass a positive (clockwise) or negative (anti-clockwise) degree value to turn an element.
<style>
.rotate{
transform: rotate(-10deg);
display: inline-block;
}
</style>
<div class="rotate">Rotated</div>
Output:
Rotated
copy