📜  css body 溢出隐藏侧边栏滚动条 - CSS 代码示例

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

代码示例1
#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    width: 350px;
    overflow: scroll;
    height: 100vh;
}