1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

using backdrop filter for faster rendering

This commit is contained in:
Fedor Katurov 2019-11-25 17:45:56 +07:00
parent e227c9660e
commit a42a0adf4a
7 changed files with 126 additions and 54 deletions

View file

@ -2,7 +2,17 @@
filter: blur(0);
transition: filter 0.25s;
will-change: filter;
// max-height: 100vh;
// width: 100vw;
// overflow: visible auto;
padding-top: 100px + $gap;
@include tablet {
padding-top: 64px + $gap;
}
&.is_blurred {
filter: blur(15px);
@include can_backdrop {
filter: blur(0);
}
}
}