Using transition properties through Less

Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 433
Code below explains you how to use the transition properties through Less-Css.

@property: all;
@duration: 0.5s;
@effect: linear;
@Bcolor: grey;
@val: @property @duration @effect;

transition: @val;

'.transition' is a class selector used for the section. Above code gets you the transition property on hover of that section.

Comments or Responses

Login to post response