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:
parent
e227c9660e
commit
a42a0adf4a
7 changed files with 126 additions and 54 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue