From ef58b6b525c8c3e0f8798342da1b2f731aac99b7 Mon Sep 17 00:00:00 2001 From: blendoit Date: Wed, 29 Jan 2020 19:11:28 -0800 Subject: Improved homepage animations. Much cleaner A E S T H E T I C --- app/static/styles/home.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/static/styles/home.css b/app/static/styles/home.css index d7828c3..a92c6a3 100644 --- a/app/static/styles/home.css +++ b/app/static/styles/home.css @@ -44,20 +44,20 @@ max-height: 25%; max-width: 40%; margin: 1rem; - background: blue; + /* background: blue; */ perspective: 600px; } .post { position: relative; margin: 0 auto; - height: 50%; - width: 70%; + height: 80%; + width: 100%; background: white; border-radius: 12px; padding: 1rem; overflow: hidden; - transition-duration: 1s; + transition-duration: 0.4s; } .post-wrapper:hover > .post { width: 60%; -- cgit v1.2.3