pepebe
8/28/2011 - 10:29 AM

komodo: .box_rotate (transform snippet for Komodo Edit)

komodo: .box_rotate (transform snippet for Komodo Edit)

.csstransforms .box_rotate {
/* use modernizr to give these rules only to capable browsers */
     -moz-transform: rotate([[%ask1:Grad:90.0]]deg);  /* FF3.5+ */
       -o-transform: rotate([[%ask1]]deg);  /* Opera 10.5 */
  -webkit-transform: rotate([[%ask1]]deg);  /* Saf3.1+, Chrome */
      -ms-transform: rotate([[%ask1]]deg);  /* IE9 */
          transform: rotate([[%ask1]]deg);

    -webkit-transform-origin: [[%ask2:left:50%]] [[%ask3:top:50%]];
    -moz-transform-origin:    [[%ask2]] [[%ask3]];
    -ms-transform-origin:     [[%ask2]] [[%ask3]];
    -o-transform-origin:      [[%ask2]] [[%ask3]];		  

	/* No rotation for ielt9 */		  
}