From 73f1cad0667f41fb610e3c5e39a3d8e2571dab41 Mon Sep 17 00:00:00 2001 From: HarshKhandeparkar Date: Mon, 8 Jun 2020 02:47:18 +0530 Subject: [PATCH] feat: global parallax mask covers the screen --- lib/css/index.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/css/index.css b/lib/css/index.css index aaecb6e..68c3a10 100644 --- a/lib/css/index.css +++ b/lib/css/index.css @@ -15,7 +15,7 @@ body { } html { - scroll- style="background-color: transparent !important;"behavior: smooth; + scroll-behavior: smooth; } @@ -63,16 +63,21 @@ html { } /* /Parallax */ +/* Global Parallax */ #global-parallax .parallax-img { width: 100%; height: 100%; margin: 0; } +#global-parallax .parallax-mask { + position: fixed; +} + #global-parallax { - /* width: 100%; */ margin: 0; } +/* /Global Parallax */ /* Navbar */ nav {