how to make a div scrollable code example
Example 1: how to make a div scrollable
<div id="" style="overflow:scroll; height:400px;">
Example 2: div scrollable content
div{
overflow : scroll;
}
Example 3: create a scrollable div
<!-- With tailwind -->
<!-- For x -->
<div class="overflow-x-scroll w-80"></div>
<!-- For y -->
<div class="overflow-y-scroll h-80"></div>
Example 4: scrollbar in html div
overflow in html