ant-design/site/theme/template/Home/Banner/Background.less

36 lines
467 B
Plaintext
Raw Normal View History

2021-09-01 10:56:50 +08:00
@import (reference) '../../../../../components/style/themes/variable.less';
2019-12-26 15:27:52 +08:00
.home-banner-background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
> * {
width: 100%;
height: 100%;
vertical-align: top;
}
> img {
display: block;
}
> svg {
display: none;
}
}
@media (min-width: @screen-sm-min) {
.home-banner-background {
> img {
display: none;
}
> svg {
display: block;
}
}
}