mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-12 04:23:14 +00:00
30 lines
447 B
SCSS
30 lines
447 B
SCSS
.img-wrap {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.img-wrap img {
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-img-h100 {
|
|
width: auto;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.mirrorred {
|
|
-webkit-transform: scaleX(-1);
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.background-img {
|
|
--overlay-offset: #{$overlay-offset};
|
|
|
|
height: calc(100vh - var(--overlay-offset));
|
|
width: 100vw;
|
|
object-fit: cover;
|
|
}
|