UI component for CSS3 rotations for use with component. Works in Chrome, Firefox, Opera, Safari, IE9+
component install jsantell/rotate
rotate
is just a function that takes an element and rotation value (in degrees) and rotates that element.
var rotate = require('rotate');
var el = document.getElementById('someDiv');
rotate(el, 120); // rotate el by 120 degrees