Commit d9bbddfb authored by 水玉婷's avatar 水玉婷
Browse files

feat:去除标题以及滚动条样式

parent 87d7af4c
......@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title></title>
<title>&#8203;</title>
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
......
......@@ -45,11 +45,19 @@ body {
margin: 0;
box-sizing: border-box;
// 跨浏览器滚动条隐藏方案
// Webkit浏览器滚动条样式(Chrome, Safari, Edge)
&::-webkit-scrollbar {
width: 0px; // 垂直滚动条宽度
height: 0px; // 水平滚动条高度
}
// Firefox浏览器滚动条隐藏
scrollbar-width: none; // Firefox 64+
// IE/Edge旧版本兼容
-ms-overflow-style: none; // IE 10+
}
// 重置基础元素样式
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment