<!DOCTYPE html>
<style>
    * {
        scrollbar-width: none;
    }

    .scroll-container {
        width: 500px;
        overflow-x: scroll;
        white-space: nowrap;
        background-color: #f0f0f0;
        display: flex;
        border: 5px solid yellowgreen;
    }

    .section {
        flex: 0 0 1000px;
        height: 200px;
        background-color: orangered;
    }

    .sticky-element {
        position: sticky;
        left: 0;
        background-color: blueviolet;
        flex: 0 0 300px;