Less Css Rotation


/ Published in: CSS
Save to your folder(s)

Use as follow in your style.less file :

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


Copy this code and paste it in your HTML
  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. }

URL: http://lostwebdesigns.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.