Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css how to hide horizontal scrollbar

.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: #css #hide #horizontal #scrollbar
ADD COMMENT
Topic
Name
4+1 =