From e5031d0eddb9eca794cbca518b7e89fb4b463c01 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:23:35 -0400 Subject: [PATCH] Scroll effects for hero section --- src/layouts/index.html | 41 ++++++++++++++++++++++++---- src/layouts/partials/detail-btn.html | 2 +- src/static/css/style.css | 8 ++++-- 3 files changed, 42 insertions(+), 9 deletions(-) diff --git a/src/layouts/index.html b/src/layouts/index.html index baf6329..c7dcc68 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -11,7 +11,7 @@ width:300px; right: 225px; top:300px; - z-index:-2; + z-index: 0; } #gen-art-2{ @@ -19,13 +19,39 @@ width:225px; right: 375px; top:600px; - z-index:-1; + z-index: 0; + } + + #hero-grid-system{ + position:absolute; + width:100%; + z-index: -3; + margin-top:-5px; + } + + .hero-section{ + background-image: url("/Images/x-large-grid-hero.svg"); + background-attachment: fixed; + background-position: center-top; + background-repeat: repeat; + background-size: contain; + } + + .hero-container{ + position:relative; + z-index: 2; + } + + .full-width-cta-container{ + position:relative; + z-index: 2; } +
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua Discord Community.