htmlcss

The overflow-y property is used in CSS and certain HTML elements. It specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the top and bottom edges.

Values


HTML example:

<div style="height:100px; overflow-y:scroll;">TEXT TEXT TEXT TEXT</div>


CSS example:

div {
     height:100px;
     overflow-y:scroll;
}