html make 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>