removing scroll bar
This commit is contained in:
parent
85dcec9114
commit
044a34c7db
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user