pianello-api/resources/css/components/_image-fit.css

13 lines
189 B
CSS
Raw Normal View History

@layer components {
.image-fit {
position: relative;
& > img {
position: absolute;
object-fit: cover;
top: 0;
width: 100%;
height: 100%;
}
}
}