vant-weapp/packages/icon/index.less

29 lines
353 B
Plaintext

@import '../common/style/var.less';
@import '@vant/icons/src/index.less';
:host {
display: inline-flex;
align-items: center;
justify-content: center;
}
.van-icon {
&--custom {
position: relative;
}
&--image {
width: 1em;
height: 1em;
}
&__image {
width: 100%;
height: 100%;
}
&__info {
z-index: 1;
}
}