axi-designv1.50.0

Shells

Masthead

The sticky bar across the top of a page, holding the brand, the tabs and whatever global control the app needs.

.axi-mast .axi-mast__in

It is not a raised element and takes no block: it is the top edge of the page widened into a strip, with a single panel-weight border-bottom and the ground as its background, so content scrolling under it disappears behind an edge rather than sliding beneath a floating panel.

__in carries the page measure and gutter, which is why the masthead's background can run the full width while its contents stay aligned with the page below it. On a phone it loses its minimum height and the tabs become a scrolling row.

Brand, tabs and an accent picker

<header class="axi-mast" style="position: static">
  <div class="axi-mast__in">
    <a class="axi-brand" href="#">
      <span class="axi-sigil" aria-hidden="true">A</span>
      <span class="axi-brand__name">axi-design<small>Pattern gallery</small></span>
    </a>
    <nav class="axi-tabs">
      <a href="#" aria-current="page">Gallery</a>
      <a href="#">Components</a>
      <a href="#">Rules</a>
    </nav>
  </div>
</header>