Visit the showcase page where you can like, comment, inspect or clone the project?

Visit the published page for the project?

Webflow - Tutorial

Fluid Fullscreen Menu

Here is a  toggle button that animates into a fullscreen menu. The challenge was to transition a circle shape into a rectangle shape of the browser's viewport. It is responsive and works no matter the screen orientation.

Menu Toggle Button

Shout out to Oakland Agency and the Burgers Vol 1 project. This tutorial is using the Burger 3 Button.

Layers

There are three main elements to making this interaction possible. You can think of them as layers if it helps.

  • Burger or Menu Toggle Button
  • Menu Background
  • Menu

Animation

There are two click interactions on the burger. The first interaction came with it when I copied it from the cloned Burgers Vol 1 project. The second interaction is controlling the menu and menu-bkgdelements.

It became necessary to control the movement path and growth separately.

  • menu-bkgd acts like an anchor moving the circle from the corner to the middle
  • menu-bkgd__wrapper is the container for the circle
  • menu-bkgd__circle is nested inside the above divs

With interaction controls there's the ability to adjust the timing with Easing, however in order to get a more organic smooth animation we need to move in a non-linear path. No more A⇢B. To get a curved vector path of motion, it is necessary to separate the movement along the X and Y axis and invert the easing.

Yay! Now we get a smooth curved animation path. The rest of the interaction animations are the normal stuff of move, scale, and so on.

To better see what I'm talking about, go to the published link and the toggle will turn on borders for the main elements and activate interactions that are 10x slower than normal. Try it.

Closing Thoughts

Hopefully this quick breakdown and sample project have given you some understanding to the methods used to achieve a smooth animation.

MPM HD
7 items
405K in folder
506K available
Read Me
Webflow
Favorites
My Videos
My Tutorials
My Articles
Read Me

Matthew P Munger

Life is a journey. Just keep moving.

Originally from Oklahoma City but have lived in the UK, Southern Africa, and am currently in Costa Rica. My family and I enjoy traveling and experiencing other cultures. The world and its people are amazing!

What I do

My background since 2002 is in media design with experience in videography, graphic design, and web design. Then I transitioned to a visual developer building custom designs using Webflow. Now I work at Webflow as a QA Analyst.

When I'm not building websites, I'm talking about it here, on Youtube, on Twitter, and on the Webflow forum.

This Site

Oh and you might have noticed that I'm a Macintosh fan. Been a user since 1993. My career in creative media wouldn't have been possible without Macs.

Feel free to browse around my virtual computer. You never know what you might find.

Note: I do use affiliate links on this site. It allows me, as a freelancer, to earn a small amount if you use and like something I recommend.

Webflow
7 items
2013K in folder
unlimited
My Profile
Signup
Forum
Webflow Weekly
My Videos
My Tutorials
My Articles
Trash
6 items
Empty
Dreamweaver
Shopify
Squarespace
Weebly
Wordpress
Wix
Trash
0 items
Empty
New Project Form

Project Submission

Thanks for you interest in working together on a project built in Webflow. In order to best understand your new website's needs, please fill out the information below to the best of your ability.

Check any of the options below that apply to your needs. If you don't understand what they mean, don't worry we can figure it out later.

If you've gotten this far, thank you. Go ahead and submit your info and I'll get back with you as possible with and informed response.

Thank you! Your project submission has been received!
Oops! Something went wrong while submitting the form. Please check all of the fields and try again.
MPM HD
Read Me
Clients
Webflow
Trash
Trash
Favorites
7 items
405K in folder
506K available
Contact Form

Contact Form

Thank you! Your submission has been received.
Oops! Something went wrong while submitting the form. Please check all of the fields and try again.
Webflow Weekly

Maybe it's not a good idea to shut my website down without a hardware reset button. Proceed?

Just kidding. Nothing was actually shutdown. It wouldn't have been a good idea. Do it again?

Permission denied. Please reconsider your actions.