Return to Snippet

Revision: 37735
at May 20, 2011 04:35 by kanouf


Updated Code
.rotation(@deg:5deg){ 
  -o-transform: rotate(@deg);
  -webkit-transform: rotate(@deg);
  -moz-transform: rotate(@deg);
  -ms-transform: rotate(@deg);
  transform: rotate(@deg);
}

Revision: 37734
at December 16, 2010 09:11 by kanouf


Initial Code
.rotation(@deg:5deg){ 
  -o-transform: rotate(@deg);
  -webkit-transform: rotate(@deg);
  -moz-transform: rotate(@deg);
  transform: rotate(@deg);
}

Initial URL
http://lostwebdesigns.com

Initial Description
Use as follow in your style.less file :

<pre>
.example{
    .rotation(9deg);
}
</pre>

Initial Title
Less Css Rotation

Initial Tags
css, CSS3

Initial Language
CSS