Как сделать горизонтальную прокрутку в CSS над другим div на мобильном? - PullRequest
0 голосов
/ 17 апреля 2020

Я использую Bulma CSS Рамки и листовки для карты. Я использую следующий код, чтобы показать элементы по горизонтали

<section class="section is-title-bar is-map-container">
        <div id="map"></div>
    </section>

    <section class="section is-main-section is-help-content">
        <div class="columns is-centered">
            <div class="card column is-2">
                <div class="card-content">
                    <p class="title">
                        “There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.”
                    </p>
                    <p class="subtitle">
                        Jeff Atwood
                    </p>
                </div>
            </div>
            <div class="card column is-2">
                <div class="card-content">
                    <p class="title">
                        “There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.”
                    </p>
                    <p class="subtitle">
                        Jeff Atwood
                    </p>
                </div>
            </div>
        </div>
    </section>

На мобильном устройстве я хочу показать что-то вроде этого

enter image description here

Как можно сделать .card прокручиваемый по горизонтали

...