From daa2621aa95f2a677a315a35945dfcab50426370 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sun, 5 May 2013 18:28:08 -0400 Subject: [PATCH] Added animation-delay --- README.md | 6 ++++++ elements.less | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 4413786..77b98bd 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ License: This work is dedicated to the public domain and is free for all uses, c Mixins ------ +### Animations + + .animation-delay(duration) + +Sets the delay / duration of the animation + ### Backgrounds .background-clip(padding-box) diff --git a/elements.less b/elements.less index e8c33fa..19b0639 100644 --- a/elements.less +++ b/elements.less @@ -157,3 +157,10 @@ .debug(@color: red, @sizeStyle: 1px solid) { border: @sizeStyle @color; } +.animation-delay(@duration) { + -webkit-animation-delay: @duration; + -moz-animation-delay: @duration; + -o-animation-delay: @duration; + -ms-animation-delay: @duration; + animation-delay: @duration; +}