Skip to content

Commit

Permalink
Fade the video sides too
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlence committed Dec 28, 2024
1 parent e88113e commit 6463b76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/sass/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6463b76

Please sign in to comment.