I'm trying to make a side menu that appears when the user clicks a button, using a .is-visible class
<button ng-click="visible=!visible;">Click me to open the menu!</button>
<div ng-class="{'is-visible':visible}" class="menu">
<a>Menu</a>
</div>
It works but the effect is only applied to the div, the elements within the div (in case the Menu does not change, can someone give me a light how to apply the same effect to everything inside the div? Of course I leave the codepen below with what I did: