Commit 30bbab06 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #12962 from BBosman/transitions-count

Add transition-timing-function mixin to docs
parents 538b3ca0 acdc053e
3 merge requests!28721Hot test,!22103test,!25326Adjust examples
Showing with 5 additions and 1 deletion
+5 -1
...@@ -3078,7 +3078,7 @@ a { ...@@ -3078,7 +3078,7 @@ a {
{% endhighlight %} {% endhighlight %}
<h3 id="less-mixins-transitions">Transitions</h3> <h3 id="less-mixins-transitions">Transitions</h3>
<p>Three mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.</p> <p>Multiple mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.</p>
<p>The mixins are <strong>deprecated</strong> 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.</p> <p>The mixins are <strong>deprecated</strong> 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.</p>
{% highlight scss %} {% highlight scss %}
.transition(@transition) { .transition(@transition) {
...@@ -3097,6 +3097,10 @@ a { ...@@ -3097,6 +3097,10 @@ a {
-webkit-transition-duration: @transition-duration; -webkit-transition-duration: @transition-duration;
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) { .transition-transform(@transition) {
-webkit-transition: -webkit-transform @transition; -webkit-transition: -webkit-transform @transition;
-moz-transition: -moz-transform @transition; -moz-transition: -moz-transform @transition;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment