Check out example codes for "hide horizontal scrollbar css". It will help you in understanding the concepts better.

Code Example 1

.x-scroll-disabled {
	overflow-x: hidden;
}

Code Example 2

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

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

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

Code Example 3

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

Code Example 4

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge add Firefox */
.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none; /* Firefox */
}

Learn ReactJs, React Native from akashmittal.com