Posted By

kanouf on 12/16/10


Tagged

css rotation CSS3 less lessjs


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

DCalabrese
LeeRJohnson
jackomono


Less Css Rotation


 / Published in: CSS
 

URL: http://lostwebdesigns.com

Use as follow in your style.less file :

.example{
    .rotation(9deg);
}
  1. .rotation(@deg:5deg){
  2. -o-transform: rotate(@deg);
  3. -webkit-transform: rotate(@deg);
  4. -moz-transform: rotate(@deg);
  5. -ms-transform: rotate(@deg);
  6. transform: rotate(@deg);
  7. }

Report this snippet  

You need to login to post a comment.