📜  如何使用 css 代码示例使宽度无限并隐藏

📅  最后修改于: 2022-03-11 14:47:29.696000             🧑  作者: Mango

代码示例1
#scroller-wrapper {
    width: 100%;
    height: 200px;
    background-color: red;
}

#scroller {
    height: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.elem {
    height: 100%;
    display: inline-block;
    outline: 1px solid blue;
}