You can use css like this:
overflow-y: scroll;
overflow-x: hidden;
More Related Contents:
- How to change scroll bar position with CSS?
- Add a horizontal scrollbar to an HTML table
- Why does vw include the scrollbar as part of the viewport?
- How can I prevent the scrollbar overlaying content in IE10?
- Prevent scroll-bar from adding-up to the Width of page on Chrome
- How can I increase a scrollbar’s width using CSS?
- Apply Border-Radius To Scrollbars with CSS
- Transparent scrollbar with css
- with fixed and scrollable [duplicate]
- How to get horizontal scroll bar in select box in IE?
- How can I create equal width/height boxes that fit the screen width? [duplicate]
- Scrollbar without fixed height/Dynamic height with scrollbar
- HTML canvas with scrollbar
- How can I select an element with multiple classes in jQuery?
- Put icon inside input element in a form
- Grid properties not working on elements inside grid container
- Can I change the checkbox size using CSS?
- Border length smaller than div width?
- Should I specify height and width attributes for my IMGs in HTML?
- CSS ”background-color” attribute not working on checkbox inside
- My Footer Floats
- Scrolling to an Anchor using Transition/CSS3
- Can a ::before selector be used with a ?
- CSS data attribute new line character & pseudo-element content value
- CSS grid wrapping
- How can I create a row-based masonry layout using CSS?
- Selecting the last element among various nested containers
- Why using absolute position causes the div to be on top?
- Element with “display: inline-flex” has a strange top margin
- How to flatten nested divs to display them in a CSS grid?