diff options
| author | Mark Otto <[email protected]> | 2013-12-14 18:58:41 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-14 18:58:41 -0800 |
| commit | e98c2dc3adfb3e480012454bb5f170c48cf99c45 (patch) | |
| tree | aa2d54ec5ebfa0ac9b93b0bb624cd33be265fbb6 | |
| parent | 35dd6b9fd7a9d06c7bc630abe391bfdf0f4ba644 (diff) | |
| parent | 77bc82d486d8c3cf58bd1ba48d57fcfa87509837 (diff) | |
| download | bootstrap-e98c2dc3adfb3e480012454bb5f170c48cf99c45.tar.xz bootstrap-e98c2dc3adfb3e480012454bb5f170c48cf99c45.zip | |
Merge pull request #11326 from ZDroid/animations
Add `.animation-*()` mixins
| -rw-r--r-- | less/mixins.less | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less index dbe9ed4a7..ae4acd34e 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -202,6 +202,30 @@ -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; +} // Backface visibility // Prevent browsers from flickering when using CSS 3D transforms. |
