diff --git a/src/main/groovy/org/groocss/Transition.groovy b/src/main/groovy/org/groocss/Transition.groovy index 5a4c65a..0e85c30 100644 --- a/src/main/groovy/org/groocss/Transition.groovy +++ b/src/main/groovy/org/groocss/Transition.groovy @@ -123,6 +123,13 @@ class Transition implements CSSPart { new TransitionDSL() } + /** Transitions "all" properties. */ + TransitionTimingDSL all (durationVal) { + property = 'all' + duration = durationVal + timingDSL + } + /** Sets all the background properties in one declaration */ TransitionTimingDSL background (durationVal) { property = 'background'