Created
March 9, 2022 02:34
-
-
Save chancecorbeil/ee62ebf7f19548d381faf4b19abf8f76 to your computer and use it in GitHub Desktop.
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
// Add horizontal scrollbar on top of block | |
.block-container, | |
.block { | |
transform:rotateX(180deg); | |
-ms-transform:rotateX(180deg); /* IE 9 */ | |
-webkit-transform:rotateX(180deg); /* Safari and Chrome */ | |
overflow-x: auto; | |
} | |
::-webkit-scrollbar:horizontal { | |
background: #ededed; | |
} | |
::-webkit-scrollbar:vertical { | |
background: #ffffff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment