JSFiddle - React, Tailwind, and code Playground

by lddubeau

HTML

<div style="height: 100px; overflow: auto;">
    <p id="a">A</p>
    <p id="b">B</p>
    <p id="c">C</p>
    <p id="d">D</p>
    <p id="e">E</p>
    <p id="f">F</p>
    <p id="g">G</p>
</div>