Created
December 16, 2013 21:55
-
-
Save NOEinteractive/7995114 to your computer and use it in GitHub Desktop.
Bloquer le scroll sur la page entière, sans faire remonter le scroll en haut comme avec un simple overflow:hidden; sur le html! (© fancybox ! ) (par exemple si vous voulez ouvrir un overlay par dessus votre site)
This file contains 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
html.locked { | |
overflow:visible!important; | |
body { | |
overflow:hidden!important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment