From 3096a377a28627fae8b8fbdd543b7ab140b86929 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Fri, 28 Dec 2012 16:19:12 +0800 Subject: [PATCH] Add transition-duration mixin --- less/mixins.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/less/mixins.less b/less/mixins.less index b734bab2dc..4b09bea4cd 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -268,6 +268,12 @@ -o-transition-delay: @transition-delay; transition-delay: @transition-delay; } +.transition-duration(@transition-duration) { + -webkit-transition-duration: @transition-duration; + -moz-transition-duration: @transition-duration; + -o-transition-duration: @transition-duration; + transition-duration: @transition-duration; +} // Transformations .rotate(@degrees) {