Skip to content

jsantell/rotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rotate

UI component for CSS3 rotations for use with component. Works in Chrome, Firefox, Opera, Safari, IE9+

Installation

component install jsantell/rotate

API

rotate(el, deg)

rotate is just a function that takes an element and rotation value (in degrees) and rotates that element.

Example

var rotate = require('rotate');
var el = document.getElementById('someDiv');

rotate(el, 120); // rotate el by 120 degrees

About

UI component for CSS3 rotations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published