hide scrollbar html css

CSS
  /* Hide scrollbar for Chrome, Safari and Opera */

  .example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar 
  for IE and Edge */
.example {
  -ms-overflow-style: none;
} /* On Chrome */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
/* For Firefox and IE */
.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
.example {
  -ms-overflow-style: none;
}
Source

Also in CSS: