.c-drawer
Drawer component
html
<div style="min-height: 200px; position: relative; overflow: hidden">
<nav id="my-drawer" class="c-drawer" role="navigation" aria-hidden="true">
<div class="c-drawer__inner">
<div class="c-drawer__focus-point" tabindex="-1"></div>
<ul class="c-drawer__menu">
<li class="c-drawer__item"><a href="#">menu</a></li>
<li class="c-drawer__item"><a href="#">menu</a></li>
<li class="c-drawer__item c-drawer__item--has-submenu">
<a href="#">menu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
<li class="c-drawer__subitem c-drawer__subitem--has-submenu">
<a href="#">submenu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
</ul>
</li>
</ul>
</li>
<li class="c-drawer__item c-drawer__item--has-submenu">
<a href="#">menu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="c-drawer-close-zone" aria-controls="my-drawer" aria-hidden="true"></div>
<nav id="my-drawer-inverse" class="c-drawer c-drawer--inverse" role="navigation">
<div class="c-drawer__inner">
<div class="c-drawer__focus-point" tabindex="-1"></div>
<ul class="c-drawer__menu">
<li class="c-drawer__item"><a href="#">menu</a></li>
<li class="c-drawer__item"><a href="#">menu</a></li>
<li class="c-drawer__item c-drawer__item--has-submenu">
<a href="#">menu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
<li class="c-drawer__subitem c-drawer__subitem--has-submenu">
<a href="#">submenu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
</ul>
</li>
</ul>
</li>
<li class="c-drawer__item c-drawer__item--has-submenu">
<a href="#">menu</a>
<button class="c-drawer__toggle" aria-expanded="false">
<span class="c-ic-angle-right" aria-hidden="true"></span>
</button>
<ul class="c-drawer__submenu" aria-hidden="true">
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
<li class="c-drawer__subitem"><a href="#">submenu</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="c-drawer-close-zone" aria-controls="my-drawer-inverse" aria-hidden="true"></div>
</div>
<button id="my-drawer-btn" class="c-hamburger-btn" aria-expanded="false" aria-controls="my-drawer">
<span class="c-hamburger-btn__bars">
<span class="c-hamburger-btn__bar"></span>
<span class="c-hamburger-btn__bar"></span>
<span class="c-hamburger-btn__bar"></span>
</span>
<span class="c-hamburger-btn__label">MENU</span>
</button>
<button id="my-drawer-btn-inverse" class="c-hamburger-btn" aria-expanded="false" aria-controls="my-drawer-inverse">
<span class="c-hamburger-btn__bars">
<span class="c-hamburger-btn__bar"></span>
<span class="c-hamburger-btn__bar"></span>
<span class="c-hamburger-btn__bar"></span>
</span>
<span class="c-hamburger-btn__label">MENU (Inverse)</span>
</button>