Commit c52e1b85 authored by Felix Hirschfeld's avatar Felix Hirschfeld
Browse files

Add mixin for transition-property

It's quite handy if a transition needs the same duration, timing-function or delay and only specific properties to animate.
parent 24f57bdf
Showing with 4 additions and 0 deletions
+4 -0
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
-webkit-transition: @transition; -webkit-transition: @transition;
transition: @transition; transition: @transition;
} }
.transition-property(@transition-property) {
-webkit-transition-property: @transition-property;
transition-property: @transition-property;
}
.transition-delay(@transition-delay) { .transition-delay(@transition-delay) {
-webkit-transition-delay: @transition-delay; -webkit-transition-delay: @transition-delay;
transition-delay: @transition-delay; transition-delay: @transition-delay;
......
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