Firefox浏览器 scrollbar-width: none; ie浏览器 -ms-overflow-style: none; Chrome和Safari浏览器 ::-webkit-scrollbar { display: none; }