Pixel UI/Layouts/Horizon band

Horizon band

A clean page with a landscape rising along the bottom of the hero.

<piix-scene>WebGL

Summit · Trail planner

Plan the climb. Enjoy the view.

Routes, weather and elevation in one calm place.

Start planning

The hero is your normal page: plain background, your type, your buttons. Only the bottom third is pixel art, and because the sky is cut out, the mountains rise straight out of your own background colour.

Installation

<!-- once, anywhere on the page: every component -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.6/piixpal.min.js"></script>

Usage

<section class="lay-band">
  <div class="lay-copy">
    <p class="lay-kicker">Summit · Trail planner</p>
    <h2>Plan the climb. Enjoy the view.</h2>
    <p>Routes, weather and elevation in one calm place.</p>
    <piix-button tone="ink">Start planning</piix-button>
  </div>
  <piix-scene kind="alps" sky="none" height="260px"></piix-scene>
</section>

<style>
.lay-copy{display:grid;gap:12px;justify-items:start;font-family:"Bricolage Grotesque",system-ui,sans-serif}
.lay-copy h2{margin:0;font-size:clamp(30px,4.4vw,52px);font-weight:800;line-height:1;letter-spacing:-.04em}
.lay-copy p{margin:0;max-width:42ch;font-size:17px;line-height:1.5;opacity:.75}
.lay-kicker{font:400 12px/1 "Silkscreen",monospace!important;text-transform:uppercase;letter-spacing:.06em;opacity:.6!important}
.lay-band{position:relative;display:grid;background:#f6f2ea;color:#17121f;overflow:hidden}
.lay-band .lay-copy{padding:56px 40px 0;justify-items:center;text-align:center}
.lay-band piix-scene{margin-top:-40px}
</style>

Accessibility