Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .landingBackground {
- background-image: url('../../images/adam-wilson-138927-unsplash.jpg');
- background-attachment: fixed;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- position: relative;
- // use to set height of element to the view port
- // normally would use 100vh, but 93vh was used to compensate for the navbar
- height: 93vh;
- min-height: 93vh;
- }
Add Comment
Please, Sign In to add comment