jirengu / jqueryrotate

Automatically exported from code.google.com/p/jqueryrotate
0 stars 0 forks source link

Feature Request: Support for transform-origin #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be very nice if there was support for "transform-origin" (and it's 
kin) in this library!

This example rotates an element 90 degrees (though I can't seem to get it to 
work in IE, though it should!?):

.rotate90 {       
    -moz-transform: rotate(90deg);                 /*FF*/
    -moz-transform-origin: left top;
    -o-transform: rotate(90deg);                   /*Opera*/
    -o-transform-origin: left top;
    -webkit-transform: rotate(90deg);              /*Safari, Chrome*/
    -webkit-transform-origin: left top;
    -ms-transform: rotate(90deg) !important;       /*IE9*/
    -ms-transform-origin: left top;
    transform: rotate(90deg);                      /*CSS3 default*/
    transform-origin: left top;

    zoom: 1;                                       /* Req'd by IE? */
    position: absolute;
}

Original issue reported on code.google.com by campb...@gmail.com on 5 Apr 2012 at 5:15

GoogleCodeExporter commented 9 years ago
it really is what this plugin needs. otherwise it's just a fun toy to play with

Original comment by randomst...@gmx.us on 5 Sep 2013 at 11:21

GoogleCodeExporter commented 9 years ago
Well this plugin supports transform origin, but to work crossbrowse you need to 
call it trough option arguments.

Please check the "center" argument in 
https://code.google.com/p/jqueryrotate/wiki/Documentation

Original comment by wil...@gmail.com on 5 Sep 2013 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by wil...@gmail.com on 5 Sep 2013 at 11:24