Skip to content

The design language that makes your AI harness better at design.

JavaScript
1.3 KB
Raw Blame
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Overlay hiding: an intro that never ends</title>
  <style>
    * { box-sizing: border-box; }
    body { font: 16px/1.5 system-ui, sans-serif; margin: 0; padding: 40px; color: #111; background: #fff; }
    .faint { margin: 0; font-size: 14px; line-height: 28px; color: #aaaaaa; }
    .cine-intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; color: #fff;
      background: radial-gradient(130% 120% at 50% 28%, rgb(11, 22, 38) 0%, rgb(4, 5, 7) 70%); }
    /* The same intro, never removed: the URL engine waits the intro budget,
       then hides it. Pinned by crates/browser/tests/overlay_hiding.rs. */
  </style>
</head>
<body>
  <div class="cine-intro" aria-hidden="true"><div><b>TIRIONAI</b><p>For the places you can't always watch. RENDERING 47%</p></div></div>
  <h1>A page under an intro</h1>
  <p class="body-copy" style="max-width: 640px;">This page has copy of its own under the layer: a product, its pricing, its support hours and a note on shipping. A visitor reads it once the layer in front of it is gone, and the scan should read it too. It runs long enough to be more than a title.</p>
  <p class="faint" id="covered-copy">Faint copy the intro covers.</p>
</body>
</html>