Oops, my good man.
I never had this need, but quick research has shown that it is possible.
I will quote here examples I found and the source:
http://www.w3schools.com/css/css3_2dtransforms.asp
div {
-ms-transform: rotate(30deg); /* IE 9 */
-webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
transform: rotate(30deg);
}
http://ricostacruz.com/jquery.transit/
Note: the library is on the site for download (I don’t know if it is possible for you to download and use in your project, but it is an option)
{
...
$('.box').transition({ rotate: '45deg' });
...
}
https://stackoverflow.com/questions/19126432/rotate-a-div-using-javascript
Note: This example shows how to use a click event, I found interesting, can be useful.
As I said, I have never had to, but I believe that some of these sources will solve your problem.
If you solve, please let me know, because you never know when I will need to use, rsrs.
The last illustration has 10 Ivs. After all, there are 9 or 10?
– bfavaretto
Yes. Possible..
– HiHello
@bfavaretto the last illustration put 10 just for putting it...
– ivan veloso