vant/packages/image/index.less
2019-05-17 14:51:06 +08:00

27 lines
402 B
Plaintext

@import '../style/var';
.van-image {
position: relative;
display: inline-block;
&__img,
&__error,
&__loading {
display: block;
width: 100%;
height: 100%;
}
&__error,
&__loading {
position: absolute;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
color: @gray-dark;
background-color: @background-color;
}
}