Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to hide scrollbar css

/* hide scrollbar but allow scrolling */
body {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll; 
}

body::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
Source by blog.hubspot.com #
 
PREVIOUS NEXT
Tagged: #hide #scrollbar #css
ADD COMMENT
Topic
Name
1+3 =