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