Skip to content

Commit bce8ba2

Browse files
committed
1.优化dn,vh公共样式
2.新增oh公共类,用于隐藏dom元素 3.新增no-tap-color公共类,用于清空默认点击态
1 parent aec24be commit bce8ba2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"aimee": "app",
44
"description": "Aimee的reset模块,用于处理配置文件",
55
"main": "reset.less",
6-
"version": "1.0.2",
6+
"version": "1.0.3",
77
"scripts": {
88
"test": "uz -v"
99
},

reset.less

+9-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ a{
5757
text-decoration: none;
5858
}
5959
.dn{
60-
display: none;
60+
display: none !important;
61+
}
62+
.oh{
63+
overflow: hidden !important;
6164
}
6265
.vh{
63-
overflow: hidden;
64-
}
66+
visibility: hidden !important;
67+
}
68+
.no-tap-color{
69+
.tap-color();
70+
}

0 commit comments

Comments
 (0)