32 lines
586 B
SCSS
32 lines
586 B
SCSS
|
|
|
|
picture {
|
|
position: absolute;
|
|
width:100%;
|
|
top:0;
|
|
min-height:720px;
|
|
|
|
&:after {
|
|
position: absolute;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
bottom: -6px;
|
|
width: 100%;
|
|
box-shadow: inset 1px 0 105px 105px #0d0d31;
|
|
background: linear-gradient(to bottom, #0d0d3105, #0d0d31);
|
|
background-color: #0d0d3188;
|
|
position: absolute;
|
|
}
|
|
& > img {
|
|
object-fit: cover;
|
|
object-position: top;
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
|
|
}
|
|
}
|
|
|
|
|