Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

hide horizontal scrollbar css

.parentContainer {
	overflow: hidden;
    height: value in px;
}

.parent {
	overflow-x: scroll;
    block-size: calc(100% + 25px);
 }
 
 .childImage {
 	height: 100%;
    // restore height
    block-size: calc(100% - 25px);
}
Source by blog.hubspot.com #
 
PREVIOUS NEXT
Tagged: #hide #horizontal #scrollbar #css
ADD COMMENT
Topic
Name
8+4 =