CSS Property:
transform:

Result:
myDIV
CSS Code:

#myDIV {
  background-color:lightblue;
  transform:rotate(10deg);
}
  
Click the property values above to see the result
W3Schools.com - Play it