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