1
I am trying to make a side menu that appears when the user clicks a button, using a class . is-Visible
<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 applied only in 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 on everything within the div? In case it’s not clear I leave the codepen below with what I did: