Home › Forums › CSS › Help me convert these CSS3 transitions to LESS? › Re: Help me convert these CSS3 transitions to LESS?
January 17, 2013 at 12:57 pm
#121280
Zoom
Participant
You should probably use a mixin to do this. Also you should probably apply the transition on the a, li etc, and not on the :hover, so the transition will be smooth when you hover over and out of the element. Example: http://codepen.io/TheoL/pen/AeKhw
There are mixin libraries that already have a lot of these mixins for you, such as clearless http://clearleft.github.com/clearless/ , but unfortunately it seems that no less mixin library is as good as compass for sass.