Skip to content

Commit

Permalink
Merge pull request cobiwave#27 from Tiagochicoo/parallax-jumbotron
Browse files Browse the repository at this point in the history
added parralax effect on Jumbotron
  • Loading branch information
cobiwave committed Apr 3, 2021
2 parents 1b4177f + ab3ee34 commit 63476ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions style/sections/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
right: 0;
z-index: -1;

// Added this so that the Jumbotron stays fixed while you scroll.
position: sticky;

// If you want to set a background image on the hero section, uncomment these with yout custom image

/* background: url("/src/assets/[your-image].png");
Expand Down

0 comments on commit 63476ac

Please sign in to comment.