Best approach for animating or transitioning Gutenberg navigation menu on mobile
-
I’ve been trying to figure out how to apply my own slide-in css to the mobile navigation menu but I can’t seem to get anywhere with it.
Does anyone have a good approach when it comes to animating and positioning the mobile menu how I want it? I don’t seem to run into much issue trying to add my custom styling but I don’t seem to be able to control how the menu appears and disappears from the page when clicked.
I would love to be able to try different css like translateX and translateY but I can’t seem to find a way.
Any insight or guide to how i should approach this would be great. (Not interested in installing custom plugins or themes).
My ideal goal would be to have my mobile menu off-screen using a translateX by default and then when the open class is applied have it transition the translateX property in.
- You must be logged in to reply to this topic.