Create kc-rotate.js

Add this script at the header of your website. Then you can rotate any block or inline-block HTML Element using the function:

kcRotate(elem,deg)

Where "elem" is the element you want to rotate, and "deg" are the degrees.