Created
December 12, 2016 11:58
-
-
Save AmilKey/ed84b961db13b1322c5e238e8d2b2666 to your computer and use it in GitHub Desktop.
Prevent scroll-bar from adding-up to the Width of page on Chrome
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
http://stackoverflow.com/questions/18548465/prevent-scroll-bar-from-adding-up-to-the-width-of-page-on-chrome | |
html { | |
overflow-x: hidden; | |
margin-right: calc(-1 * (100vw - 100%)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment