From 4629ff52a55468bf0348d7e48bd7ff0de5a2d543 Mon Sep 17 00:00:00 2001 From: Montassar Ghanmy Date: Mon, 1 Jun 2015 16:04:38 +0100 Subject: [PATCH] Blog post transition added --- css/layout1.sass | 1 + css/style.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/layout1.sass b/css/layout1.sass index c88e11a..4cc0dde 100644 --- a/css/layout1.sass +++ b/css/layout1.sass @@ -186,6 +186,7 @@ img padding: 20px 20px 0 background: white position: relative + transition: all ease 0.3s .post-1 transform: translate(100px, 20px) diff --git a/css/style.css b/css/style.css index e966a64..0707a44 100644 --- a/css/style.css +++ b/css/style.css @@ -1003,7 +1003,8 @@ img { border: 1px solid #e1e1e1; padding: 20px 20px 0; background: white; - position: relative; } + position: relative; + transition: all ease 0.3s; } .blog-posts .post-1 { transform: translate(100px, 20px); } .blog-posts .post-2 {