div如何實現橫向滾動

實現多個div在容器內橫向排列, 利用white-space這個屬性防止父容器內容換行, 同時將容器內元素設置爲行內塊 display:inline-block來實現。html         實現代碼:web <div style="width: 100%;margin-top: 10px;margin-bottom: 30px; white-space: nowrap;overf
相關文章
相關標籤/搜索