web make div scrollable css code example
Example 1: how to make a div scrollable
<div id="" style="overflow:scroll; height:400px;">
Example 2: 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>