mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
36 lines
454 B
Plaintext
36 lines
454 B
Plaintext
|
@import '../../../../../components/style/themes/default.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;
|
||
|
}
|
||
|
}
|
||
|
}
|