From 834a9d76eb9238c0cc419519ab756549e09a762d Mon Sep 17 00:00:00 2001 From: Alexander Popitich Date: Thu, 23 Feb 2017 20:45:32 +0300 Subject: [PATCH] fix transition --- 26 - Stripe Follow Along Nav/index-FINISHED.html | 4 ++-- 26 - Stripe Follow Along Nav/index-START.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/26 - Stripe Follow Along Nav/index-FINISHED.html b/26 - Stripe Follow Along Nav/index-FINISHED.html index 9905df8..e50d4b1 100644 --- a/26 - Stripe Follow Along Nav/index-FINISHED.html +++ b/26 - Stripe Follow Along Nav/index-FINISHED.html @@ -128,7 +128,7 @@ border-radius:2px; transition: all 0.5s; transform: translateY(100px); - will-change: transform; + will-change: opacity; display: none; } @@ -149,7 +149,7 @@ background: #fff; border-radius: 4px; box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1); - transition:all 0.3s, opacity 0.1s, translate 0.2s; + transition:all 0.3s, opacity 0.1s, transform 0.2s; transform-origin: 50% 0; display: flex; justify-content: center; diff --git a/26 - Stripe Follow Along Nav/index-START.html b/26 - Stripe Follow Along Nav/index-START.html index 01b6d21..c048a58 100644 --- a/26 - Stripe Follow Along Nav/index-START.html +++ b/26 - Stripe Follow Along Nav/index-START.html @@ -128,7 +128,7 @@ border-radius:2px; transition: all 0.5s; transform: translateY(100px); - will-change: transform; + will-change: opacity; display: none; } @@ -149,7 +149,7 @@ background: #fff; border-radius: 4px; box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1); - transition:all 0.3s, opacity 0.1s, translate 0.2s; + transition:all 0.3s, opacity 0.1s, transform 0.2s; transform-origin: 50% 0; display: flex; justify-content: center; -- knotmirror 0.0.1