Answers for "css scrollbar horizontal"

CSS
0

css horizontal scroll

.scroll{
	overflow-x: scroll;
	overflow-y: hidden;
	height: 80px;
  	white-space:nowrap
}
Posted by: Guest on March-03-2021
9

horizontal scroll html

<div class="scrolling-wrapper">
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
  <div class="card"><h2>Card</h2></div>
</div>
.scrolling-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;

  .card {
    display: inline-block;
  }
}
Posted by: Guest on June-11-2020
1

how to make div scrollable horizontal

overflow-x: auto(show when needed) or hidden(never) or scroll(always scroll);
Posted by: Guest on November-17-2020

Code answers related to "css scrollbar horizontal"

Browse Popular Code Answers by Language