LoveIt/assets/css/_partial/_img.scss

9 lines
135 B
SCSS

img {
&.lazyload, &.lazyloading {
@include object-fit(scale-down);
}
&.lazyloaded {
@include object-fit(contain);
}
}