Files
vant/src/index-anchor/index.less
T
neverlandandGitHub b3146b9108 style: decentralized less var (#8369)
* style: decentralized less var

* chore: remove emtpy var file
2021-03-17 16:14:18 +08:00

22 lines
532 B
Plaintext

@import './var.less';
.van-index-anchor {
z-index: @index-anchor-z-index;
box-sizing: border-box;
padding: @index-anchor-padding;
color: @index-anchor-text-color;
font-weight: @index-anchor-font-weight;
font-size: @index-anchor-font-size;
line-height: @index-anchor-line-height;
background-color: @index-anchor-background-color;
&--sticky {
position: fixed;
top: 0;
right: 0;
left: 0;
color: @index-anchor-sticky-text-color;
background-color: @index-anchor-sticky-background-color;
}
}