Skip to content

Commit

Permalink
progress responsive design
Browse files Browse the repository at this point in the history
  • Loading branch information
fbohz committed Jun 28, 2020
1 parent a504836 commit 832e280
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions museo-demo/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ body {
top: 0;
left: 0;
z-index: 1500;
display: none;
opacity: 0;
width: 0;
transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
Expand Down Expand Up @@ -912,6 +913,8 @@ body {

.navigation__checkbox:checked ~ .navigation__nav {
opacity: 1;
display: block;
transition: all ease-in;
width: 100%; }

.navigation__icon {
Expand Down
4 changes: 3 additions & 1 deletion museo-demo/sass/layout/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
top: 0;
left: 0;
z-index: 1500;

display: none;
opacity: 0;
width: 0;
transition: all .8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
Expand Down Expand Up @@ -116,6 +116,8 @@
// navigation is visible
&__checkbox:checked ~ &__nav {
opacity: 1;
display: block;
transition: all ease-in;
width: 100%;
}

Expand Down

0 comments on commit 832e280

Please sign in to comment.