CSS 隐藏滚动条
.el-menu-container { height: calc(100% - 60px); scrollbar-width: none; /* firefox */ -ms-overflow-style: none; /* ie10+ */ overflow-x: hidden; overflow-y: auto; background: #304156; } .el-menu-container::-webkit-scrollbar { /* chrome */ display: none; }
本文来自博客园,作者:秋风2016,转载请注明原文链接:https://www.cnblogs.com/lml2017/p/15466566.html