removing scroll bar

This commit is contained in:
Raven Scott 2022-10-05 18:59:38 -04:00
parent 85dcec9114
commit 044a34c7db
1 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,28 @@
Utilities
======================== */
/* ========================
Disable Scroll Bar - Its ugly
======================== */
#parent{
width: 100%;
height: 100%;
overflow: hidden;
}
#child{
width: 100%;
height: 100%;
overflow-y: scroll;
padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
box-sizing: content-box; /* So the width will be 100% + 17px */
}
::-webkit-scrollbar {
display: none;
}
* {
box-sizing: border-box;
}