<!-- Main navigation bar --> <nav class="qld__main-nav qld__main-nav--mega" id="mainmenu"> <div class="container-fluid"> <!-- Main navigation content wrapper --> <div class="qld__main-nav__content" id="main-nav"> <!-- Navigation menu wrapper --> <div class="qld__main-nav__menu"> <!-- Inner navigation menu wrapper --> <div class="qld__main-nav__menu-inner"> <!-- Focus trap for accessibility purposes (keyboard navigation) --> <div class="qld__main-nav__focus-trap-top"></div> <!-- Navigation header which contains menu title and close button --> <div class="qld__main-nav__header"> <h6 class="qld__main-nav__menu-heading">Menu</h6> <!-- Close button for the menu --> <button aria-controls="main-nav" class="qld__main-nav__toggle qld__main-nav__toggle--close"> <!-- SVG icon for the close button --> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Close"> </use> </svg> <span class="qld__main-nav__toggle-text">Close</span> </button> </div> <!-- Navigation link list --> <ul class="qld__link-list qld__link-list--flex"> <!-- Here is a navigation item example --> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-home qld__main-nav__item-link" href="#"> <!-- SVG icon for the link --> <span class="qld__main-nav__item-icon"> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Home"> </use> </svg> </span> <span class="qld__main-nav__item-text" data-name="">Home</span> </a> </div> </li> <li class="qld__main-nav__item active"> <!-- Active --> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#">Page 1 (active)</a> </div> </li> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#">Page 2</a> </div> </li> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#"> <!-- SVG icon for the link --> <span class="qld__main-nav__item-icon"> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Settings"> </use> </svg> </span> Page 3 (with icon) </a> </div> </li> </ul> <!-- Focus trap for accessibility purposes (keyboard navigation) --> <div class="qld__main-nav__focus-trap-bottom"></div> </div> </div> <!-- Overlay element, which usually displayed when menu is open --> <div class="qld__main-nav__overlay" aria-controls="main-nav"></div> </div> </div> </nav> <br> <!-- Main navigation bar --> <nav class="qld__main-nav qld__main-nav--dark qld__main-nav--mega" id="mainmenu"> <div class="container-fluid"> <!-- Main navigation content wrapper --> <div class="qld__main-nav__content" id="main-nav"> <!-- Navigation menu wrapper --> <div class="qld__main-nav__menu"> <!-- Inner navigation menu wrapper --> <div class="qld__main-nav__menu-inner"> <!-- Focus trap for accessibility purposes (keyboard navigation) --> <div class="qld__main-nav__focus-trap-top"></div> <!-- Navigation header which contains menu title and close button --> <div class="qld__main-nav__header"> <h6 class="qld__main-nav__menu-heading">Menu</h6> <!-- Close button for the menu --> <button aria-controls="main-nav" class="qld__main-nav__toggle qld__main-nav__toggle--close"> <!-- SVG icon for the close button --> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Close"> </use> </svg> <span class="qld__main-nav__toggle-text">Close</span> </button> </div> <!-- Navigation link list --> <ul class="qld__link-list qld__link-list--flex"> <!-- Here is a navigation item example --> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-home qld__main-nav__item-link" href="#"> <!-- SVG icon for the link --> <span class="qld__main-nav__item-icon"> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Home"> </use> </svg> </span> <span class="qld__main-nav__item-text" data-name="">Home</span> </a> </div> </li> <li class="qld__main-nav__item active"> <!-- Active --> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#">Page 1 (active)</a> </div> </li> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#">Page 2</a> </div> </li> <li class="qld__main-nav__item"> <div class="qld__main-nav__item-title"> <a class="qld__main-nav__item-link" href="#"> <!-- SVG icon for the link --> <span class="qld__main-nav__item-icon"> <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" class="qld__icon qld__icon--md"> <use href="./?a=151118#icon-Settings"> </use> </svg> </span> Page 3 (with icon) </a> </div> </li> </ul> <!-- Focus trap for accessibility purposes (keyboard navigation) --> <div class="qld__main-nav__focus-trap-bottom"></div> </div> </div> <!-- Overlay element, which usually displayed when menu is open --> <div class="qld__main-nav__overlay" aria-controls="main-nav"></div> </div> </div> </nav>