From: Mark Otto Date: Sun, 15 Dec 2013 03:31:03 +0000 (-0800) Subject: document #11326 X-Git-Tag: v3.1.0~145^2^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a8669656bd519369dde745b4964c439b4e09a5;p=thirdparty%2Fbootstrap.git document #11326 --- diff --git a/css.html b/css.html index 83e0a70933..4edcc3a613 100644 --- a/css.html +++ b/css.html @@ -2996,6 +2996,39 @@ a { -ms-transform-origin: @origin; // IE9 only transform-origin: @origin; } +{% endhighlight %} + +

Animations

+

A single mixin for using all CSS3's animation properties in one declarations and other mixins for individual properties.

+{% highlight css %} +.animation(@animation) { + -webkit-animation: @animation; + animation: @animation; +} +.animation-name(@name) { + -webkit-animation-name: @name; + animation-name: @name; +} +.animation-duration(@duration) { + -webkit-animation-duration: @duration; + animation-duration: @duration; +} +.animation-timing-function(@timing-function) { + -webkit-animation-timing-function: @timing-function; + animation-timing-function: @timing-function; +} +.animation-delay(@delay) { + -webkit-animation-delay: @delay; + animation-delay: @delay; +} +.animation-iteration-count(@iteration-count) { + -webkit-animation-iteration-count: @iteration-count; + animation-iteration-count: @iteration-count; +} +.animation-direction(@direction) { + -webkit-animation-direction: @direction; + animation-direction: @direction; +} {% endhighlight %}

Opacity