s72
  • CTA band

    data-cta since 0.1.0

    The band at the foot of a page that asks for the click. A colour panel with the pattern along its top edge, the words on the left and the buttons on the right.

    Basic

    Start with two files

    A stylesheet and a script, no build step and no runtime dependencies.

  • html
    <section data-cta>
      <h2>Start with two files</h2>
      <p>A stylesheet and a script, no build step and no runtime dependencies.</p>
      <menu>
        <li><button data-variant="light">Read the start page</button></li>
        <li><button data-variant="line">Copy the files</button></li>
      </menu>
    </section>

    Under 700px the buttons drop below the words.

    Basic with a tone

    Ship the docs today

    Every component is one Markdown file, and the generator writes the site.

  • html
    <section data-cta data-tone="go">
      <h2>Ship the docs today</h2>
      <p>Every component is one Markdown file, and the generator writes the site.</p>
      <menu><li><button data-variant="line">Read the generator</button></li></menu>
    </section>

    Any data-tone the author adds wins over the default fill, text and all.

    Notes