mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-01-05 04:46:58 +01:00
fix CSS blur filter due to performance issue in Firefox
This commit is contained in:
parent
379eb6efbf
commit
0b9991ca70
@ -146,8 +146,15 @@
|
||||
}
|
||||
|
||||
body.is-menu-visible {
|
||||
#wrapper {
|
||||
@include vendor('filter', 'blur(0.5em)');
|
||||
#wrapper {
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-perspective: 1000;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
-webkit-transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
perspective: 1000;
|
||||
transform: translate3d(0,0,0);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
#menu {
|
||||
@ -161,4 +168,4 @@
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user