feat: 元素光标隐藏

This commit is contained in:
haoxr 2023-02-05 23:58:11 +08:00
parent e035029e3b
commit 2f6a434af9
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ body,
height: 100%;
}
// 隐藏元素光标
label,span, p,li,img,a{
caret-color: transparent;
}
svg {
vertical-align: -0.15em; //因icon大小被设置为和字体大小一致而span等标签的下边缘会和字体的基线对齐故需设置一个往下的偏移比例来纠正视觉上的未对齐效果
}