Last active
April 10, 2018 14:31
-
-
Save brittonwalker/34742f4945654a26da255dd75f384479 to your computer and use it in GitHub Desktop.
Fix background animation from forcing page height.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File name is just example. The last two lines stop lottie background animation from creating vertical space. To be included in any relevant scss build styles. | |
#bm-mobile, | |
#bm-desktop { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
max-height: 100%; | |
overflow-y: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment