make contents in an element oveflow infinitly

PHOTO EMBED

Thu Jun 23 2022 04:20:48 GMT+0000 (UTC)

Saved by @nimaSm #html

<div class="grandparent" style="width: 300px; overflow-x: scroll; background: gray">
    <div class="parent" style="display: inline-flex">
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
        <div class="child" style="display: inline-table">some button</div>
    </div>
</div>
content_copyCOPY

styles can be handled in css files...