12 Star 70 Fork 13

xhhhhh / uni-app-style

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
base.scss 1.02 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
xhhhhh 提交于 2020-11-19 20:13 . 页面字体基础大小调整为28rpx
* {
-webkit-overflow-scrolling: touch;
-webkit-touch-callout: text;
-webkit-user-select: text;
user-select: text;
touch-action: pan-y;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
* {
&:hover,
&:focus,
&:active {
outline: none;
}
}
html {
height: 100%;
// overflow: hidden;
}
body {
height: 100%;
background-color: #f5f5f5;
color: #333333;
}
// 页面字体基础大小
page {
height: 100%;
font-size: 28rpx;
}
img,
button,
input,
textarea {
border: none;
outline: none;
resize: none;
}
img {
display: block;
}
iframe {
display: none;
}
#app {
height: 100%;
font-size: 36upx;
word-break: break-all;
}
// 图片背景基础样式
.bgi {
background-repeat: no-repeat;
background-size: 100%;
}
// 强制父级节点边缘裁剪
.ofhd {
overflow: hidden;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
}
// 文字删除线
.tdlt {
text-decoration: line-through;
}
CSS
1
https://gitee.com/thebestweb/uni-app-style.git
git@gitee.com:thebestweb/uni-app-style.git
thebestweb
uni-app-style
uni-app-style
master

搜索帮助

14c37bed 8189591 565d56ea 8189591