Skip to content

Commit

Permalink
fix: add fallback for backdrop-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Mar 5, 2020
1 parent e9f6d90 commit 60f611b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions assets/scss/base/_supports.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@if ($headerLayoutFlex) {
@supports not (backdrop-filter: none) {
.header-wrapper {
background-color: var(--color-bg);
}
}
}
5 changes: 5 additions & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ $fofPoster: url({{ $fofPoster }});
@import "base/data-attributes";


// @supports()

@import "base/supports";


// Custom

@import "custom/custom";

0 comments on commit 60f611b

Please sign in to comment.