I have some lists that I am displaying in one line on desktop but on mobile, I have to display the same but it should be horizontally scrollable by swiping.
I tried the below code using CSS. It's working but I don't want to show the horizontal scroll bar while scrolling. Also, I am using bootstrap 4 so I added my list inside the container.
Would you help me out in this?
.aboutlinks ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aboutlinks ul li {
  display: inline-block;
  margin: 15px;
  border: 1px solid #000;
}
.aboutlinks ul li a {
  padding: 6px 25px;
  display: block;
}
@media all and (max-width: 768px) {
  .aboutlinks ul {
    display: flex;
     overflow-x: hidden;
  }
}<div class="aboutlinks">
  <ul class="smothscrollclass">
    <li><a href="" class="">ABCDE</a></li>
    <li><a href="">FGHIJ</a></li>
    <li><a href="">KLMNO</a></li>
    <li><a href="">PQRST</a></li>
    <li><a href="">UVWX</a></li>
    <li><a href="">XY</a></li>
  </ul>
</div>
 
     
    