@import (reference) '../../../style/themes/index.less'; .home-card-logo { position: relative; display: inline-block; max-width: 500px; margin: 0 32px; cursor: pointer; .home-card-logo-icon { position: absolute; top: -38px; left: 339px; display: none; width: 64px; height: 64px; } .home-banner-mini { display: block; max-width: 100%; } .home-banner-normal { display: none; } } @media (min-width: @screen-sm-min) { .home-card-logo { height: 90px; vertical-align: top; .home-banner-mini { display: none; } .home-banner-normal { display: block; } .home-card-logo-icon { display: block; } } }