There is a website on WordPress. And there is such a menu with a button.

<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">Menu</button> 

When you click on the button, aria-expanded changes to true and the menu drops out.

 <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="true">Menu</button> 

Even with the change of the class appears toggled.

 <nav id="site-navigation" class="main-navigation container toggled" role="navigation"> 

I want to make the menu go smoothly. First I tried to add transition: width 2s; In styles, but nothing happened. How to find js in via chrome and add animation?

    0