New CSS Handles with modifiers (
submenuWrapper--isClosed) were added to the Menu app, making it possible to create animation effects when the submenu opens and closes according to the user navigation.
Notice how the menu animation showed above only works because the
submenuWrapper--isClosed Handle is being applied.
For more on how to properly use CSS Handles, access the Using CSS Handles for store customization documentation.