Update deps and code cleanup
This commit is contained in:
9 files changed
+764
-965
No files matched your search
@@ -11,26 +11,18 @@ $maskPercentage: 40%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
&-backdrop {
|
||||
position: fixed;
|
||||
background-attachment: fixed;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
background-attachment: scroll;
|
||||
width: calc(100vw + 100px);
|
||||
height: calc(100vh + 100px);
|
||||
top: -50px;
|
||||
left: -50px;
|
||||
z-index: -1;
|
||||
filter: brightness(0.4);
|
||||
mask-image: linear-gradient(
|
||||
to bottom,
|
||||
black $maskPercentage,
|
||||
transparent
|
||||
),
|
||||
linear-gradient(to left, black $maskPercentage, transparent);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to bottom,
|
||||
black $maskPercentage,
|
||||
transparent
|
||||
),
|
||||
linear-gradient(to left, black $maskPercentage, transparent);
|
||||
mask-image: linear-gradient(to bottom, black 40%, transparent),
|
||||
linear-gradient(to left, black 40%, transparent);
|
||||
-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent),
|
||||
linear-gradient(to left, black 40%, transparent);
|
||||
mask-composite: source-in;
|
||||
-webkit-mask-composite: source-in;
|
||||
& > * {
|
||||
|
||||
Reference in new issue
Block a user