ant-design/site/theme/template/Home/Banner/Background.less
MadCcc 8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00

36 lines
435 B
Plaintext

@import '../../../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;
}
}
}