Place: Add a gradient on illustration if too high
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2020-03-11 14:51:21 +01:00
parent 7b7cc50790
commit 0b55be4222

View File

@@ -167,5 +167,17 @@
@include breakpoint (sm) { @include breakpoint (sm) {
background-image: var(--url-desktop); background-image: var(--url-desktop);
} }
// Gradient on top
&:before {
content: "";
width: 100%;
height: 60vw;
display: block;
position: absolute;
bottom: 0;
left: 0;
background: linear-gradient(180deg, transparent 0%, $color-primary 100%);
}
} }
} }