Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
div {
  height: 50px;
  width: 50px;
  background-color: red;
  rotate: 30deg;
}
</style>
</head>
<body>
<h3>Rotate property</h3>
<div>Hello</div>
<br>
<p>Rotates div element 30 degrees clockwise around z-axis.</p>
<p>Try to change rotate value to -30 degrees and see what happens.</p>
</body>
</html>