From 6463b76fae1122e7036bcc8f67277120bc3b470f Mon Sep 17 00:00:00 2001 From: Sviatoslav Abakumov Date: Sun, 29 Dec 2024 00:02:44 +0400 Subject: [PATCH] Fade the video sides too --- assets/sass/_about.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/sass/_about.scss b/assets/sass/_about.scss index dcbb1ac..a51af67 100644 --- a/assets/sass/_about.scss +++ b/assets/sass/_about.scss @@ -66,7 +66,10 @@ user-select: none; width: 300%; z-index: 1; - mask-image: linear-gradient(to bottom, black 90%, transparent); + mask-image: linear-gradient(to top, transparent, black 4rem), + linear-gradient(to right, transparent, black 4rem), + linear-gradient(to left, transparent, black 4rem); + mask-composite: intersect; @include media-up(lg) { margin-bottom: 140px; margin-top: -3rem;