From: Bas Bosman Date: Fri, 7 Mar 2014 10:20:31 +0000 (+0100) Subject: Add transition-timing-function mixin to docs X-Git-Tag: v3.2.0~416^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acdc053ee3f17ce10088b146d7b154e609240d3c;p=thirdparty%2Fbootstrap.git Add transition-timing-function mixin to docs --- diff --git a/docs/css.html b/docs/css.html index 6d14fbb0d6..fea9711eb4 100644 --- a/docs/css.html +++ b/docs/css.html @@ -3078,7 +3078,7 @@ a { {% endhighlight %}

Transitions

-

Three mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.

+

Multiple mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.

The mixins are deprecated as of v3.2.0, with the introduction of autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.

{% highlight scss %} .transition(@transition) { @@ -3097,6 +3097,10 @@ a { -webkit-transition-duration: @transition-duration; transition-duration: @transition-duration; } +.transition-timing-function(@timing-function) { + -webkit-transition-timing-function: @timing-function; + transition-timing-function: @timing-function; +} .transition-transform(@transition) { -webkit-transition: -webkit-transform @transition; -moz-transition: -moz-transform @transition;