diff --git a/src/css/mobil-menu.css b/src/css/mobil-menu.css index e0e1476..5613eaa 100644 --- a/src/css/mobil-menu.css +++ b/src/css/mobil-menu.css @@ -8,14 +8,14 @@ height: 100%; background: #0e1823; opacity: 1; - visibility: visible; pointer-events: auto; transform: translateX(0%); + transition: transform 250ms linear; } .mob-menu-thumb.is-hidden { opacity: 0; - visibility: hidden; + transform: translateX(100%); pointer-events: none; } diff --git a/src/partials/mobil-menu.html b/src/partials/mobil-menu.html index b8d6081..134a04c 100644 --- a/src/partials/mobil-menu.html +++ b/src/partials/mobil-menu.html @@ -17,25 +17,13 @@