# Header
Cirrus makes designing the perfect header extremely simple. It is designed to be as flexible and responsive as a header menu could be with automatic element hiding for different screen sizes as well as support for dropdown menus. The basic outline for the header menu can be seen below.
<div class="header header-fixed unselectable header-animated">
<div class="header-brand">
<div class="nav-item no-hover">
<a><h6 class="title">Logo</h6></a>
</div>
<div class="nav-item nav-btn" id="header-btn">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="header-nav" id="header-menu">
<div class="nav-left">
<div class="nav-item text-center">
<a href="#">
<span class="icon">
<i class="fab fa-wrapper fa-github" aria-hidden="true"></i>
</span>
</a>
</div>
<div class="nav-item text-center">
<a href="#">
<span class="icon">
<i class="fab fa-wrapper fa-slack" aria-hidden="true"></i>
</span>
</a>
</div>
<div class="nav-item text-center">
<a href="#">
<span class="icon">
<i class="fab fa-wrapper fa-twitter" aria-hidden="true"></i>
</span>
</a>
</div>
<div class="nav-item has-sub toggle-hover" id="dropdown">
<a class="nav-dropdown-link">Animated</a>
<ul class="dropdown-menu dropdown-animated" role="menu">
<li role="menu-item"><a href="#">First Item</a></li>
<li role="menu-item"><a href="#">Second Item</a></li>
<li role="menu-item"><a href="#">Third Item</a></li>
</ul>
</div>
</div>
<div class="nav-right">
<div class="nav-item active">
<a href="#">Active</a>
</div>
<div class="nav-item">
<a href="#">Link 1</a>
</div>
<div class="nav-item has-sub" id="dropdown">
<a class="nav-dropdown-link">Click Me</a>
<ul class="dropdown-menu" role="menu">
<li role="menu-item"><a href="#">First Item</a></li>
<li role="menu-item"><a href="#">Second Item</a></li>
<li role="menu-item"><a href="#">Third Item</a></li>
<li class="dropdown-menu-divider"></li>
<li role="menu-item"><a href="#">Fourth Item</a></li>
</ul>
</div>
</div>
</div>
</div>
Header Outline
headerwill serve as the parent container for the header component.-
header-brandis the left most container of theheaderwith the website logo always showing. Extra links can be added here if needed. -
header-navis designed for adding links, dropdown menus, and other components. The components are hidden for tablets and phones and are rendered in a main dropdown menu that can be accessed by the hamburger button.-
nav-leftis the left most container of theheader-navthat will display components like links, buttons, etc on the left side of the screen and the top part of the menu on touch enabled devices.-
nav-itemserves as the main container for all components of anynav-*container. Slight padding is added into the control. Adding thehas-subclass indicates that the item has a dropdown menu.-
nav-dropdown-linkspecifies that the link inside thenav-itemis associated to an adjacentdropdown-menu. -
dropdown-menuis the dropdown menu (ul) itself that can containlior any other elements.-
dropdown-menu-divideris a divider used to separatedropdown-menucomponents.
-
-
-
-
-