From 13df3213c833f870de996bf367649347fa3c1898 Mon Sep 17 00:00:00 2001 From: frankLife Date: Thu, 28 Nov 2013 17:59:22 +0800 Subject: [PATCH] just like a shake --- animate.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/animate.css b/animate.css index 41c3ed1..5575359 100644 --- a/animate.css +++ b/animate.css @@ -139,18 +139,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI @-webkit-keyframes shake { 0%, 100% { - -webkit-transform: translateX(0); - transform: translateX(0); + -webkit-transform: translate(0,0); + transform: translateX(0,0); } 10%, 30%, 50%, 70%, 90% { - -webkit-transform: translateX(-10px); - transform: translateX(-10px); + -webkit-transform: translate(-10px,10px); + transform: translate(-10px,10px); } 20%, 40%, 60%, 80% { - -webkit-transform: translateX(10px); - transform: translateX(10px); + -webkit-transform: translate(10px,-10px); + transform: translate(10px,-10px); } }