From 89b5475ad81c5b0ab9338f40005c0dbc85a448c1 Mon Sep 17 00:00:00 2001 From: John Otander Date: Mon, 15 Sep 2014 14:10:57 -0600 Subject: [PATCH] Modify transition CSS, closes #69. --- css/pixyll.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/css/pixyll.css b/css/pixyll.css index f36ac18fcfd81..ee6040401f4d0 100644 --- a/css/pixyll.css +++ b/css/pixyll.css @@ -428,30 +428,30 @@ Copyright (c) 2014 Daniel Eden @-webkit-keyframes fadeInDown { 0% { opacity: 0; - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); + -webkit-transform: translateY(-20px); + transform: translateY(-20px); } 100% { opacity: 1; - -webkit-transform: none; - transform: none; + -webkit-transform: translateY(0); + transform: translateY(0); } } @keyframes fadeInDown { 0% { opacity: 0; - -webkit-transform: translate3d(0, -100%, 0); - -ms-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); + -webkit-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); } 100% { opacity: 1; - -webkit-transform: none; - -ms-transform: none; - transform: none; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); } }