ant-design/site/theme/template/Home/Banner/Background.less
二货机器人 b926c535ea
docs: site build script update (#32984)
* chore: rm color-less

* refactor: MV theme to variable

* docs: fix header

* chore: clean up

* chore: enable esbuild
2021-11-23 18:57:59 +08:00

36 lines
464 B
Plaintext

@import (reference) '../../../../../components/style/themes/index.less';
.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;
}
}
}