Place: Add a gradient on illustration if too high
Some checks failed
continuous-integration/drone/push Build was killed
Some checks failed
continuous-integration/drone/push Build was killed
This commit is contained in:
@@ -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%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user