Browse Source

无JIRA任务 新增一套hover-visible的原子化实现

es6
zsmj1994 4 years ago
parent
commit
efd3d7e9fe
  1. 11
      src/less/core/utils/common.less

11
src/less/core/utils/common.less

@ -493,3 +493,14 @@
.background-color(@color-bi-background-black-theme-dark, 50%);
}
}
// hover-visible的原子化形式
.bi-hover-visible-container {
& .bi-hover-visible-item {
visibility: hidden;
}
&:hover .bi-hover-visible-item {
visibility: visible;
}
}

Loading…
Cancel
Save