.mobile { height: 100vh; width: 100vw; position: fixed; top: 0; left: 0; } ::-webkit-scrollbar { width: 0; } ::-webkit-scrollbar:horizontal { height: 0; } ::-webkit-scrollbar:horizontal { height: 0; } /* 火狐浏览器隐藏滚动条 */ html { scrollbar-width: none; }