Skip to content

Commit

Permalink
⚠️ Add blur behind header
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfahan committed May 8, 2021
1 parent 06b29b2 commit cfbdd74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/objects/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
color: $header-color;
background-color: $header-background;

@if $enable-experimental-css {
-webkit-backdrop-filter: blur($header-blur);
backdrop-filter: blur($header-blur);
}

@include transition($header-transition);

&.is-collapse {
Expand Down
1 change: 1 addition & 0 deletions src/settings/objects/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// Header
$header-background: if($design-theme == light, $white, $dark) !default;
$header-color: clr-auto($header-background) !default;
$header-blur: .2rem !default;
$header-bordertop: $borderwidth-wide solid $primary !default;
$header-height: 64px !default;
$header-padding-x: 24px !default;
Expand Down

0 comments on commit cfbdd74

Please sign in to comment.