(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Don’t want to make from scratch? Buy the template instead 🙂
Introduction – Grid Style Animated Modern Menu with Elementor & GSAP
In this tutorial, we are learning to make full screen GSAP animated menu that opens/closes when clicked on our toggle button. This menu is very customizable and allows to show more content in organized manner than any normal menu.
Animated Hamburger Icon (Toggle between Open and Close Icon)
- Refer to this video to understand it better. (https://youtu.be/FzcW342IJ-c?t=202)
- Width in .menu-icon-4 changes width of the hamburger icon.
- height in .menu-icon-4 changes the distance between each line.
- height in .line-4 changes the thickness of the each lines.
- .menu-wrapper-4 contains the styling for background, padding, border etc.
- Each CSS class has an .active state, change the appropriate values for background, border etc.
Grid Style Menu Code – CSS and Javascript (JS)
- dm-menu-grid-wrapper is the CSS of the parent container of all contents of menu.
- dm-menu-grid-toggle is the CSS class of the menu icon.
- dm-menu-top-left, .dm-menu-top-right, .dm-menu-bottom-left, .dm-menu-bottom-right are the CSS classes of the respective containers inside of dm-menu-grid-wrapper.
/*No Scroll Code, Only to be used for Static Header*/