diff --git a/components/card/style/index.less b/components/card/style/index.less index 6f75165c2f..effdb88e73 100644 --- a/components/card/style/index.less +++ b/components/card/style/index.less @@ -231,6 +231,21 @@ } } + &-loading { + overflow: hidden; + position: relative; + + &:after { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: @card-padding-base; + background: @component-background; + content: ''; + } + } + &-loading &-body { user-select: none; }