diff --git a/src/css/layout/_nav.scss b/src/css/layout/_nav.scss index 16f779c..8bd315d 100644 --- a/src/css/layout/_nav.scss +++ b/src/css/layout/_nav.scss @@ -17,14 +17,14 @@ width: 60px; background: _palette(accent1); margin: 15px 30px; + @include vendor('transform-origin', '55px 5px'); &.active { @include vendor('transform', 'rotate(45deg)'); - @include vendor('transform-origin', '55px 5px'); } } - &.bar1.active:first-child { + &.bar1:first-child { @include vendor('transform-origin', '5px 5px'); } diff --git a/src/index.html b/src/index.html index fef5514..c0386b0 100644 --- a/src/index.html +++ b/src/index.html @@ -47,10 +47,10 @@