Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fbohz committed Jun 29, 2020
1 parent 3c5e5ce commit 77e9d65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions museo-demo/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,11 @@ body {
opacity: 0;
visibility: hidden;
transition: all .3s; }
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
.popup {
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, 0.3); } }
.popup__content {
position: absolute;
top: 50%;
Expand Down
6 changes: 6 additions & 0 deletions museo-demo/sass/components/_popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
visibility: hidden;
transition: all .3s;

@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
background-color: rgba($color-black, .3);
}

&__content {
@include absCenter;

Expand Down

0 comments on commit 77e9d65

Please sign in to comment.