Posted By

kanouf on 09/27/10


Tagged

CSS3 transition less lessjs


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

kele5240
bobbym245
jplr
LeeRJohnson


Less Css transition


 / Published in: CSS
 

  1. .transition(@obj:all, @time:.5s, @easing:easeOut){
  2. transition: @obj @time @easing;
  3. -moz-transition: @obj @time @easing;
  4. -ms-transition: @obj @time @easing;
  5. -o-transition: @obj @time @easing;
  6. -webkit-transition: @obj @time @easing;}

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: kanouf on September 27, 2010

Then use as follow in your style.less file :

.example {
     .transition(all, .5s, ease-out);
} 

You need to login to post a comment.