Scrollbars use in css


The size of the containing element does not change, but the scrollbars are added to allow the user to scroll to see the content.


The purpose is the same as scroll, but the scrollbar will be shown only if the content does overflow.


div {
width: 350px;
height: 350px;
overflow: scroll;

Posted in CSS

Leave a Comment