mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Add .animation-*()
mixins
This commit is contained in:
parent
19fdd707ef
commit
77bc82d486
@ -204,6 +204,30 @@
|
|||||||
-webkit-animation: @animation;
|
-webkit-animation: @animation;
|
||||||
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
|
// Backface visibility
|
||||||
// Prevent browsers from flickering when using CSS 3D transforms.
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user