diff options
| author | Mark Otto <[email protected]> | 2013-12-14 19:31:03 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-14 19:31:03 -0800 |
| commit | 88a8669656bd519369dde745b4964c439b4e09a5 (patch) | |
| tree | cddb2b71fecfd9009a53f6c375fa39be45feb7fa | |
| parent | e98c2dc3adfb3e480012454bb5f170c48cf99c45 (diff) | |
| download | bootstrap-88a8669656bd519369dde745b4964c439b4e09a5.tar.xz bootstrap-88a8669656bd519369dde745b4964c439b4e09a5.zip | |
document #11326
| -rw-r--r-- | css.html | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -2998,6 +2998,39 @@ a { } {% endhighlight %} + <h3 id="mixins-animations">Animations</h3> + <p>A single mixin for using all CSS3's animation properties in one declarations and other mixins for individual properties.</p> +{% 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 %} + <h3 id="mixins-opacity">Opacity</h3> <p>Set the opacity for all browsers and provide a <code>filter</code> fallback for IE8.</p> {% highlight css %} |
