Get the code of CSS Transform Negative Rotate and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.
<div>Original</div>
<div class="mydiv">Rotate</div>div {
background: red;
width: 100px;
height: 50px;
margin: 5px;
color: white;
border: 1px solid black;
padding: 5px;
}
.mydiv {
transform: rotate(-50deg)
}