Scrollcraft
Capitolul 9 din 15EN

Cinci proiecte de portofoliu, desfăcute în piese.

O lansare de produs, un portofoliu de studio, un articol lung, un studiu de caz în GSAP și o prezentare de produs în WebGL. Fiecare rulează mai jos cu brieful, tehnicile pe care le folosește, prompturile care îl refac pentru proiectul tău, o listă „gata de portofoliu” și fiecare linie de cod. Toate cinci se potrivesc pe orice ecran de la 375 de pixeli în sus și toate stau nemișcate cu mișcare redusă.

Capitolul 9 din 1511 min de citit

Ce vei învăța

La finalul capitolului
  1. 01Citești un site complet și recunoști tehnicile pe care le combină.
  2. 02Explici de ce fiecare exemplu pare cinematic: ritm, reținere și o singură buclă.
  3. 03Reconstruiești un exemplu pentru subiectul tău cu prompturile date.
  4. 04Înlocuiești materialele provizorii cu imagini, cadre sau un traseu reale.

01 · Cum folosești capitolul

a

Derulează întâi previzualizarea

Fiecare site rulează într-un cadru. Derulează în el sau apasă Vezi pe tot ecranul ca să-l deschizi separat, cu un buton Înapoi care te aduce aici. Observă ce se mișcă și cât de puțin: sunt minimaliste intenționat.

b

Apoi citește cum e construit

Lista de tehnici spune ce piese din Mișcare combină fiecare site. Fiecare site are trei fișiere și niciun pas de build. Primele trei nu folosesc biblioteci; Halden Studio încarcă GSAP, iar Atelier Sora încarcă three.js de pe un CDN, așa că fiecare linie se poate citi tot singură.

c

Refă-l pentru proiectul tău

Prompturile se completează cu proiectul tău din câmpurile de mai jos. Lipește-le în ordine și verifică după fiecare, ca în Construcție.

Completează-le și fiecare prompt din tutorial le folosește.

02 · Lansare de produs

Orbit One

O pagină de lansare pentru o boxă fictivă. Produsul se rotește când derulezi, apoi un tur fixat arată ce face.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Orbit One · a speaker that fills the room</title>
    <meta name="description" content="A fictional product launch page, built for the Scrollcraft tutorial." />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <!-- the film layer: letterbox bars for the signature moment, and grain -->
    <div class="bars" aria-hidden="true"><i></i><i></i></div>
    <div class="grain" aria-hidden="true"></div>
    <header class="nav">
      <a class="brand" href="#top">Orbit</a>
      <nav class="links" aria-label="Sections">
        <a href="#design">Design</a>
        <a href="#features">Features</a>
        <a href="#colours">Colours</a>
        <a href="#faq">Questions</a>
      </nav>
      <a class="buy" href="#order">Pre-order</a>
    </header>

    <main id="top">
      <section class="hero">
        <!-- orbits behind the headline: the sound, drawn once as the page opens -->
        <svg class="orbits" viewBox="0 0 800 800" aria-hidden="true">
          <ellipse cx="400" cy="400" rx="390" ry="150" />
          <ellipse cx="400" cy="400" rx="300" ry="112" />
          <ellipse cx="400" cy="400" rx="210" ry="76" />
          <circle cx="790" cy="400" r="5" />
        </svg>
        <h1 class="split">
          <span class="line"><span>Sound that</span></span>
          <span class="line"><span>fills the room,</span></span>
          <span class="line"
            ><span>not the <em>shelf.</em></span></span
          >
        </h1>
        <p class="sub">A small speaker that plays in every direction.</p>
        <p class="cue" aria-hidden="true">Scroll</p>
      </section>

      <!-- frame scrub: the canvas draws the product, the captions change with the scroll -->
      <section class="spin" id="design" aria-label="The speaker, turning">
        <div class="spin-pin">
          <canvas class="spin-canvas" aria-hidden="true"></canvas>
          <p class="spin-cap" data-at="0">Sound in every direction.</p>
          <p class="spin-cap" data-at="0.34">A fabric shell over an aluminium core.</p>
          <p class="spin-cap" data-at="0.67">One button. Nothing else to learn.</p>
        </div>
      </section>

      <section class="statement">
        <p class="words">Put it in the middle of the table and forget where the front is. There isn't one.</p>
      </section>

      <!-- product tour: the device stays pinned, the feature crossing the middle sets the screen -->
      <section class="tour" id="features">
        <div class="tour-device" aria-hidden="true">
          <div class="tour-screen" data-i="0"><span>Play</span></div>
        </div>
        <div class="tour-list">
          <article class="feat">
            <span class="num">01</span>
            <h2>Play</h2>
            <p>Press once to start the last thing you listened to.</p>
          </article>
          <article class="feat">
            <span class="num">02</span>
            <h2>Pair</h2>
            <p>Hold the same button and your phone finds it.</p>
          </article>
          <article class="feat">
            <span class="num">03</span>
            <h2>Group</h2>
            <p>Two of them share one song across two rooms.</p>
          </article>
        </div>
      </section>

      <!-- colours: the choice recolours the drawing here and the speaker in the film above -->
      <section class="colours" id="colours">
        <div class="colours-text">
          <p class="eyebrow">Colours</p>
          <h2>Three colours, one shape.</h2>
          <p>Each shell is woven in one colour, all the way through, so a scratch never shows a different one.</p>
          <div class="tones" role="group" aria-label="Colour">
            <button type="button" data-tone="graphite" aria-pressed="true"><i></i>Graphite</button>
            <button type="button" data-tone="sand" aria-pressed="false"><i></i>Sand</button>
            <button type="button" data-tone="clay" aria-pressed="false"><i></i>Clay</button>
          </div>
        </div>
        <div class="swatch-speaker" aria-hidden="true"><span></span></div>
      </section>

      <!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
      <section class="kit-section kit-zoomer" id="room" aria-labelledby="room-title">
        <div class="kit-head"><h2 id="room-title" class="kit-reveal">Made for the middle of the room.</h2></div>
        <figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
          <svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
            <rect width="1050" height="450" fill="#0b0d0f" />
            <rect x="0" y="300" width="1050" height="150" fill="#121417" />
            <g fill="none" stroke="rgba(255,138,61,0.35)">
              <ellipse cx="525" cy="262" rx="120" ry="22" />
              <ellipse cx="525" cy="262" rx="200" ry="38" />
              <ellipse cx="525" cy="262" rx="290" ry="56" />
            </g>
            <rect x="330" y="262" width="390" height="16" rx="4" fill="#2a2420" />
            <rect x="360" y="278" width="10" height="150" fill="#1d1916" />
            <rect x="680" y="278" width="10" height="150" fill="#1d1916" />
            <rect x="497" y="196" width="56" height="66" rx="10" fill="#2b3135" />
            <ellipse cx="525" cy="196" rx="28" ry="6" fill="#0d0f11" />
            <circle cx="525" cy="196" r="3" fill="#ff8a3d" />
            <circle cx="860" cy="120" r="46" fill="rgba(255,214,170,0.08)" />
            <rect x="852" y="60" width="16" height="70" fill="#1a1d20" />
          </svg>
        </figure>
        <p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
          No front, no back: put it where people sit, and the sound reaches all of them.
        </p>
      </section>

      <!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
      <section class="kit-section kit-carousel" id="rooms" aria-labelledby="rooms-title">
        <div class="kit-head">
          <h2 id="rooms-title" class="kit-reveal">Where it fits</h2>
          <div class="kit-buttons">
            <button type="button" data-dir="-1" aria-label="Previous room">←</button><button type="button" data-dir="1" aria-label="Next room">→</button>
          </div>
        </div>
        <div class="kit-track" tabindex="0" role="region" aria-label="Where it fits">
          <figure class="kit-card">
            <div
              class="kit-art"
              style="background: radial-gradient(circle at 50% 70%, #ff8a3d55, transparent 50%), linear-gradient(#1b1f22, #0b0d0f)"
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Kitchen counter</h3>
              <p>Loud enough for the radio, small enough to move for the chopping board.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="background: radial-gradient(circle at 40% 60%, #5cc8ff44, transparent 55%), linear-gradient(#15191c, #07080a)"
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Living room</h3>
              <p>On the low table, with everyone around it.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="background: radial-gradient(circle at 60% 50%, #9be15d44, transparent 55%), linear-gradient(#171a1c, #08090a)"
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Studio desk</h3>
              <p>Between the screens, playing to the whole room.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="background: radial-gradient(circle at 50% 30%, #ffd59e55, transparent 50%), linear-gradient(#1d2a12, #07080a)"
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Garden table</h3>
              <p>For an evening outside, until the battery says goodnight.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="background: radial-gradient(circle at 50% 50%, #b4694a55, transparent 55%), linear-gradient(#1a1412, #07080a)"
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Bedside</h3>
              <p>Quiet enough to fall asleep to.</p>
            </figcaption>
          </figure>
        </div>
      </section>

      <!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
      <section class="kit-section kit-feed" id="workshop" aria-labelledby="workshop-title">
        <div class="kit-head"><h2 id="workshop-title" class="kit-reveal">From the workshop</h2></div>
        <ul class="kit-list" aria-live="polite">
          <li>
            <span class="kit-tag">Week 12</span>
            <p><b>Shell sample four</b>The weave is finally tight enough that the dots do not show the core.</p>
          </li>
          <li>
            <span class="kit-tag">Week 11</span>
            <p><b>The button, again</b>We tried two buttons for a week. Everyone went back to one.</p>
          </li>
          <li>
            <span class="kit-tag">Week 10</span>
            <p><b>A heavier base</b>Twenty grams more at the bottom, and it stopped walking on the table.</p>
          </li>
        </ul>
        <template
          ><li>
            <span class="kit-tag">Week 9</span>
            <p><b>Ring colours</b>Orange for playing, blue for pairing, green for a group.</p>
          </li>
          <li>
            <span class="kit-tag">Week 8</span>
            <p><b>The aluminium core</b>Turned from one piece, so nothing inside can rattle.</p>
          </li>
          <li>
            <span class="kit-tag">Week 7</span>
            <p><b>Listening tests</b>Twelve rooms, one question: where is the front? Nobody could say.</p>
          </li>
          <li>
            <span class="kit-tag">Week 6</span>
            <p><b>First drawings</b>A cylinder, because sound does not have a favourite side.</p>
          </li>
          <li>
            <span class="kit-tag">Week 5</span>
            <p><b>The name</b>Orbit, because it plays all the way round.</p>
          </li>
          <li>
            <span class="kit-tag">Week 4</span>
            <p><b>The brief</b>One speaker, one button, for the middle of the room.</p>
          </li></template
        >
        <div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
      </section>
      <section class="specs">
        <h2>The details</h2>
        <dl>
          <div>
            <dt>Sound</dt>
            <dd>All the way round</dd>
          </div>
          <div>
            <dt>Shell</dt>
            <dd>Woven fabric</dd>
          </div>
          <div>
            <dt>Core</dt>
            <dd>Aluminium</dd>
          </div>
          <div>
            <dt>Controls</dt>
            <dd>One button</dd>
          </div>
        </dl>
      </section>

      <section class="faq" id="faq">
        <h2>Questions</h2>
        <details>
          <summary>Where should it go?</summary>
          <p>In the middle of the room, or the middle of the table. It has no front, so it does not need a wall behind it.</p>
        </details>
        <details>
          <summary>How do I pair my phone?</summary>
          <p>Hold the button until the ring turns blue, then choose Orbit One in your phone’s settings.</p>
        </details>
        <details>
          <summary>Can two play together?</summary>
          <p>Yes. Hold the button on the second one while the first is playing, and they share the song.</p>
        </details>
      </section>

      <section class="order" id="order">
        <h2>Orbit One</h2>
        <p>Three colours. Shipping when it is ready.</p>
        <a class="btn" href="#top">Pre-order</a>
      </section>
    </main>

    <footer class="foot">
      <div class="foot-cols">
        <p class="brand">Orbit</p>
        <ul>
          <li><a href="#design">Design</a></li>
          <li><a href="#features">Features</a></li>
          <li><a href="#colours">Colours</a></li>
          <li><a href="#faq">Questions</a></li>
        </ul>
        <ul>
          <li><a href="#order">Pre-order</a></li>
          <li><a href="#top">Back to top</a></li>
        </ul>
      </div>
      <p class="foot-note">A fictional product, built for the Scrollcraft tutorial.</p>
    </footer>
    <div class="progress" aria-hidden="true"></div>
    <script src="app.js"></script>
  </body>
</html>
Vezi pe tot ecranul
Se deschide într-un tab nou. Editezi și vezi rezultatul imediat.
1

Brieful

Un start-up lansează o singură boxă și are nevoie de o pagină care să-i facă pe oameni s-o precomande. Produsul trebuie să fie vedeta, cele trei funcții trebuie să fie clare în mai puțin de un minut, iar pagina trebuie să rămână rapidă pe un telefon mediu.

2

Tehnici folosite

Titlu dezvăluit rând cu rând, peste linii de orbită desenate o dată când se deschide pagina (Mișcare, rețeta e). O secvență de cadre derulată care spune produsul în trei acte: se rotește în timp ce inele de sunet se întind pe podea, se deschide într-o vedere explodată cu carcasă, miez și difuzor, cu etichete și linii de legătură, apoi se închide în timp ce privirea coboară spre singurul buton (rețeta c). Cuvinte aprinse în ritmul scrollului (tehnica 5). Un tur de produs fixat, al cărui inel de lumină se umple și își schimbă culoarea pentru fiecare funcție (rețeta a). O bară de progres a lecturii.

3

De ce pare un film

O singură culoare de accent, folosită doar pentru bara de progres, buton și singurul control al produsului. Fiecare secțiune face un singur lucru și ține ecranul pentru el. Produsul se rotește doar cât derulezi, așa că cititorul regizează cadrul.

4

Prompturi ca să-l refaci

Prompt
Construiește o pagină minimalistă de lansare pentru [subiect], pentru [public], care se încheie cu un singur îndemn: [o acțiune]. HTML, CSS și JavaScript simplu, în trei fișiere, fără biblioteci. Secțiuni: un titlu dezvăluit rând cu rând, o secțiune fixată cu un canvas în care scrollul rotește produsul, o propoziție ale cărei cuvinte se aprind la scroll, un tur fixat cu trei funcții și un îndemn final. Fundal închis, o singură culoare de accent. Scrie CSS-ul întâi pentru telefon: layoutul de telefon ca bază, ecranele mai late adăugate cu query-uri min-width.
Prompt
Folosește un singur listener de scroll care programează un singur requestAnimationFrame. În el calculează progresul prin fiecare secțiune fixată din getBoundingClientRect și redesenează canvasul doar când se schimbă numărul cadrului. Pentru turul de funcții aprinde, în același cadru, ultima funcție al cărei titlu a trecut de o linie de citire: mijlocul ecranului sau chiar sub dispozitiv pe telefoane.
Prompt
Verifică: cu prefers-reduced-motion produsul rămâne pe cadrul 0, toate cuvintele sunt aprinse și titlul apare imediat. Cu JavaScript oprit, tot textul trebuie să se poată citi. Testează la 375, 768 și 1440 px și spune-mi ce n-ai putut testa.
5

Pune cadre reale ale produsului

Exemplul își desenează cadrele din cod, ca să nu aibă nevoie de fișiere. Dacă ai o randare 3D sau o filmare pe platou rotativ, exportă cadrele și desenează imagini:

JavaScript
const FRAMES = 120;
const frames = Array.from({ length: FRAMES }, (_, i) => {
  const img = new Image();
  img.src = `frames/${String(i + 1).padStart(3, '0')}.webp`;
  return img;
});
function drawFrame(i) {
  const img = frames[i];
  if (!img.complete) return; // următorul eveniment de scroll îl desenează
  ctx.clearRect(0, 0, cv.width, cv.height);
  const s = Math.min(cv.width / img.width, cv.height / img.height);
  ctx.drawImage(img, (cv.width - img.width * s) / 2, (cv.height - img.height * s) / 2, img.width * s, img.height * s);
}
6

Gata de portofoliu

Bifează fiecare punct când versiunea ta îl îndeplinește. Bifele rămân în acest browser.

0 din 7 criterii îndeplinite

03 · Portofoliu de studio

Field Studio

Un portofoliu tipografic pentru un studio de design fictiv. Litere mari, un rând de servicii care alunecă, proiecte care se deschid când ajung pe ecran și un proces povestit în lateral.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Field Studio · identity and motion</title>
    <meta name="description" content="A fictional studio portfolio, built for the Scrollcraft tutorial." />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <!-- the film layer: letterbox bars for the signature moment, and grain -->
    <div class="bars" aria-hidden="true"><i></i><i></i></div>
    <div class="grain" aria-hidden="true"></div>
    <div class="progress" aria-hidden="true"></div>
    <header class="nav">
      <a class="brand" href="#top">Field Studio</a>
      <nav aria-label="Sections">
        <a href="#work">Work</a><a class="wide" href="#services">Services</a><a class="wide" href="#process">Process</a><a href="#contact">Contact</a>
      </nav>
    </header>

    <main id="top">
      <section class="hero">
        <!-- the ground: soft fields of colour that flow like ink in water, under a halftone grid that swells where the pointer is -->
        <canvas class="field" aria-hidden="true"></canvas>
        <h1 class="split">
          <span class="line"><span>We design</span></span>
          <span class="line"><span>quiet brands</span></span>
          <span class="line"><span class="dim">that move.</span></span>
        </h1>
        <p class="meta"><span>Identity</span><span>Websites</span><span>Motion</span></p>
      </section>

      <!-- marquee: drifts on its own, speeds up with the scroll -->
      <div class="marquee" aria-hidden="true">
        <div class="marquee-row">Identity · Type · Web · Motion · Print ·</div>
      </div>

      <section class="work" id="work">
        <h2 class="label">Selected work</h2>
        <!-- each project opens from a small window to its full frame -->
        <article class="project">
          <figure class="clip">
            <svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
              <defs>
                <linearGradient id="sky1" x1="0" y1="0" x2="0" y2="1">
                  <stop offset="0" stop-color="#16242c" />
                  <stop offset="1" stop-color="#2c4a5c" />
                </linearGradient>
              </defs>
              <rect width="400" height="300" fill="url(#sky1)" />
              <circle data-depth="40" cx="270" cy="120" r="46" fill="#e8d6b0" />
              <path data-depth="24" d="M0 180 C 60 168, 120 192, 200 178 S 330 166, 400 176 V 300 H 0 Z" fill="#1d3644" />
              <path data-depth="12" d="M0 214 C 70 202, 140 226, 220 210 S 340 200, 400 210 V 300 H 0 Z" fill="#162a35" />
              <path data-depth="4" d="M0 250 C 80 240, 160 262, 240 248 S 350 238, 400 246 V 300 H 0 Z" fill="#0f1e26" />
              <path data-depth="24" d="M0 180 C 60 168, 120 192, 200 178 S 330 166, 400 176" fill="none" stroke="#e8d6b0" stroke-width="1.5" />
            </svg>
          </figure>
          <div class="project-text">
            <span class="pnum">01</span>
            <h3>Tidewater</h3>
            <p>Identity and website for a fictional ferry line.</p>
          </div>
        </article>
        <article class="project">
          <figure class="clip">
            <svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
              <rect width="400" height="300" fill="#d9cdb4" />
              <g data-depth="6" fill="none" stroke="#b8a37a" stroke-width="1">
                <path d="M0 60 H 400 M0 120 H 400 M0 180 H 400 M0 240 H 400 M80 0 V 300 M160 0 V 300 M240 0 V 300 M320 0 V 300" />
              </g>
              <rect data-depth="18" x="60" y="70" width="120" height="160" fill="#6e5a3b" />
              <path data-depth="34" d="M210 150 H 300 L 300 120 L 350 165 L 300 210 L 300 180 H 210 Z" fill="#2b2418" />
              <circle data-depth="48" cx="120" cy="110" r="22" fill="#d9cdb4" />
            </svg>
          </figure>
          <div class="project-text">
            <span class="pnum">02</span>
            <h3>Common Ground</h3>
            <p>Wayfinding for a fictional public library.</p>
          </div>
        </article>
        <article class="project">
          <figure class="clip">
            <svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
              <defs>
                <radialGradient id="glow3" cx="0.5" cy="0.42" r="0.5">
                  <stop offset="0" stop-color="#ffd59e" />
                  <stop offset="0.25" stop-color="#e0893a" stop-opacity="0.7" />
                  <stop offset="1" stop-color="#120804" stop-opacity="0" />
                </radialGradient>
              </defs>
              <rect width="400" height="300" fill="#120804" />
              <circle data-depth="10" cx="200" cy="126" r="150" fill="url(#glow3)" />
              <path data-depth="44" d="M200 40 C 214 60, 186 74, 200 96" fill="none" stroke="#5a3a26" stroke-width="2" stroke-linecap="round" />
              <ellipse data-depth="30" cx="200" cy="124" rx="9" ry="20" fill="#fff1d6" />
              <rect data-depth="16" x="168" y="150" width="64" height="120" rx="4" fill="#2a160a" />
              <rect data-depth="16" x="168" y="150" width="64" height="10" rx="4" fill="#3d2213" />
            </svg>
          </figure>
          <div class="project-text">
            <span class="pnum">03</span>
            <h3>Low Light</h3>
            <p>Packaging for a fictional candle maker.</p>
          </div>
        </article>
      </section>

      <!-- horizontal gallery: vertical scroll moves the strip sideways while the section is pinned -->
      <!-- what the studio does: four rows that open to say how -->
      <section class="services" id="services" aria-labelledby="services-title">
        <h2 class="label" id="services-title">Services</h2>
        <details>
          <summary><span class="sn">01</span>Identity</summary>
          <p>Names, marks and the rules that keep them consistent, from a business card to a building.</p>
        </details>
        <details>
          <summary><span class="sn">02</span>Websites</summary>
          <p>Fast, readable sites that a team can update without calling us.</p>
        </details>
        <details>
          <summary><span class="sn">03</span>Motion</summary>
          <p>How a brand moves on screen: timing, easing and when to stay still.</p>
        </details>
        <details>
          <summary><span class="sn">04</span>Print</summary>
          <p>Books, posters and packaging, set by hand and checked on paper.</p>
        </details>
      </section>

      <!-- a statement whose words darken as you read them -->
      <section class="manifesto" aria-label="How we work">
        <p class="words">We would rather make one thing well than ten things loudly. Every project starts with listening and ends with a guide.</p>
      </section>

      <section class="hs" id="process" aria-label="Process, in five steps">
        <div class="hs-pin">
          <h2 class="label hs-label">Process</h2>
          <div class="hs-track">
            <div class="step">
              <span>01</span>
              <h3>Listen</h3>
              <p>A week of questions before any sketch.</p>
            </div>
            <div class="step">
              <span>02</span>
              <h3>Reduce</h3>
              <p>One idea, said as plainly as possible.</p>
            </div>
            <div class="step">
              <span>03</span>
              <h3>Draw</h3>
              <p>Type, mark and grid, on paper first.</p>
            </div>
            <div class="step">
              <span>04</span>
              <h3>Move</h3>
              <p>Motion rules, so the brand behaves the same everywhere.</p>
            </div>
            <div class="step">
              <span>05</span>
              <h3>Hand over</h3>
              <p>Files and a guide your team can use without us.</p>
            </div>
          </div>
          <div class="hs-progress" aria-hidden="true"><i></i></div>
        </div>
      </section>

      <!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
      <section class="kit-section kit-carousel" id="journal" aria-labelledby="journal-title">
        <div class="kit-head">
          <h2 id="journal-title" class="kit-reveal">Journal</h2>
          <div class="kit-buttons">
            <button type="button" data-dir="-1" aria-label="Previous note">←</button><button type="button" data-dir="1" aria-label="Next note">→</button>
          </div>
        </div>
        <div class="kit-track" tabindex="0" role="region" aria-label="Journal">
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(160deg, #2c4a5c, #16242c)" aria-hidden="true"></div>
            <figcaption>
              <h3>On restraint</h3>
              <p>Why most of our first sketches are deleted by lunch.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: repeating-linear-gradient(0deg, #d9cdb4 0 18px, #cfc2a6 18px 20px)" aria-hidden="true"></div>
            <figcaption>
              <h3>Type on paper</h3>
              <p>We print every specimen before anyone sees it on a screen.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: radial-gradient(circle at 30% 70%, #e0893a, #3a1c0b 60%)" aria-hidden="true"></div>
            <figcaption>
              <h3>Motion rules</h3>
              <p>Three durations, two easings, and when to do nothing.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(200deg, #6e5a3b, #2b2418)" aria-hidden="true"></div>
            <figcaption>
              <h3>Handing over</h3>
              <p>A guide is part of the work, not an extra.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: conic-gradient(from 90deg at 50% 50%, #b8a37a, #d9cdb4, #b8a37a)" aria-hidden="true"></div>
            <figcaption>
              <h3>Small studios</h3>
              <p>Why we stay at five people.</p>
            </figcaption>
          </figure>
        </div>
      </section>

      <!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
      <section class="kit-section kit-feed" id="archive" aria-labelledby="archive-title">
        <div class="kit-head"><h2 id="archive-title" class="kit-reveal">Archive</h2></div>
        <ul class="kit-list" aria-live="polite">
          <li>
            <span class="kit-tag">2025</span>
            <p><b>Harbour Lights</b>Identity for a fictional festival on the quay.</p>
          </li>
          <li>
            <span class="kit-tag">2025</span>
            <p><b>Paper Mill</b>Website for a fictional print workshop.</p>
          </li>
          <li>
            <span class="kit-tag">2024</span>
            <p><b>North Rail</b>Wayfinding for a fictional branch line.</p>
          </li>
        </ul>
        <template
          ><li>
            <span class="kit-tag">2024</span>
            <p><b>Salt &amp; Smoke</b>Packaging for a fictional smokehouse.</p>
          </li>
          <li>
            <span class="kit-tag">2023</span>
            <p><b>The Reading Room</b>Signage for a fictional library annex.</p>
          </li>
          <li>
            <span class="kit-tag">2023</span>
            <p><b>Fieldwork</b>Our own identity, redrawn.</p>
          </li>
          <li>
            <span class="kit-tag">2022</span>
            <p><b>Low Tide</b>Posters for a fictional film season.</p>
          </li>
          <li>
            <span class="kit-tag">2022</span>
            <p><b>Common Table</b>Menus and signs for a fictional canteen.</p>
          </li>
          <li>
            <span class="kit-tag">2021</span>
            <p><b>First Light</b>Identity for a fictional bakery.</p>
          </li></template
        >
        <div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
      </section>
      <section class="contact" id="contact">
        <p class="label">Contact</p>
        <a class="mail" href="mailto:hello@example.com">hello@example.com</a>
      </section>
    </main>

    <footer class="foot">
      <div class="foot-cols">
        <p class="brand">Field Studio</p>
        <ul>
          <li><a href="#work">Work</a></li>
          <li><a href="#services">Services</a></li>
          <li><a href="#process">Process</a></li>
        </ul>
        <ul>
          <li><a href="mailto:hello@example.com">hello@example.com</a></li>
          <li><a href="#top">Back to top</a></li>
        </ul>
      </div>
      <p class="foot-note">A fictional studio, built for the Scrollcraft tutorial.</p>
    </footer>
    <script src="app.js"></script>
  </body>
</html>
Vezi pe tot ecranul
Se deschide într-un tab nou. Editezi și vezi rezultatul imediat.
1

Brieful

Un studio mic de design vrea un portofoliu care să sune ca el: tipografie sigură, trei proiecte și felul în care lucrează. Vizitatorii trebuie să țină minte numele și să găsească linkul de contact fără să-l caute.

2

Tehnici folosite

Titlu dezvăluit rând cu rând, cu ultimul rând, „that move.”, alunecând lateral când pleacă hero-ul (rețeta e). Bandă de text după viteza scrollului (rețeta d). Dezvăluire cu clip-path și un zoom lent în sens invers (rețeta b), iar în fiecare cadru o ilustrație SVG în straturi care se așază cu viteze diferite, ceea ce se citește ca adâncime. Scroll orizontal într-o secțiune fixată, cu numerele pașilor conturate și o linie de progres (tehnica 8).

3

De ce pare un film

Tipografia face treaba, așa că mișcarea rămâne mică. Fiecare imagine de proiect se deschide ca un obturator, în timp ce poza din ea revine dintr-un zoom ușor, ceea ce se citește ca o mișcare de cameră. Secțiunea de proces schimbă direcția, o tăietură care îi spune cititorului că a început o parte nouă.

4

Prompturi ca să-l refaci

Prompt
Construiește un portofoliu tipografic pentru [subiect], pentru [public], care se încheie cu [o acțiune]. HTML, CSS și JavaScript simplu, în trei fișiere, fără biblioteci. Fundal deschis și cald, un singur font sans-serif, fără culoare de accent. Secțiuni: un titlu pe trei rânduri dezvăluit rând cu rând, o bandă de servicii care accelerează la scroll, trei proiecte ale căror imagini se deschid cu clip-path când ajung la mijlocul ecranului, o bandă orizontală fixată cu cinci pași de proces și un link mare de contact. Scrie CSS-ul întâi pentru telefon: layoutul de telefon ca bază, ecranele mai late adăugate cu query-uri min-width.
Prompt
Setează clip-path doar din JavaScript, ca imaginile să fie complet vizibile fără el. Calculează înălțimea secțiunii orizontale din lățimea benzii, la încărcare și la redimensionare. Nu porni banda de text cu prefers-reduced-motion. Apoi testează la 375, 768 și 1440 px.
5

Folosește imagini reale de proiect

Înlocuiește fiecare imagine generată cu o fotografie care își umple cadrul. Păstrează atributele width și height, ca pagina să nu sară cât se încarcă imaginile:

HTML
<figure class="clip">
  <img class="art" src="work/tidewater.avif" alt="Afișul cu orarul feribotului Tidewater"
       width="1600" height="1200" loading="lazy" decoding="async">
</figure>
<!-- style.css: .art { object-fit: cover; } -->
6

Gata de portofoliu

Bifează fiecare punct când versiunea ta îl îndeplinește. Bifele rămân în acest browser.

0 din 7 criterii îndeplinite

04 · Articol lung

The Long Way North

O poveste de călătorie fictivă. O copertă în straturi, apoi o hartă care stă lângă text și desenează traseul zi cu zi.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>The Long Way North · a coastal walk in five days</title>
    <meta name="description" content="A fictional editorial long-read, built for the Scrollcraft tutorial." />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <!-- the film layer: letterbox bars for the signature moment, and grain -->
    <div class="bars" aria-hidden="true"><i></i><i></i></div>
    <div class="grain" aria-hidden="true"></div>
    <div class="progress" aria-hidden="true"></div>
    <header class="mast">
      <a class="mast-name" href="#top">North<span> · Issue 07</span></a>
      <nav aria-label="Sections">
        <a href="#story">Story</a>
        <a href="#route">Route</a>
        <a href="#kit">Kit</a>
        <a href="#stories">More</a>
      </nav>
    </header>

    <header class="cover" id="top">
      <!-- parallax: the farther the layer, the more it moves with the reader, so it seems to drift by more slowly -->
      <svg class="layer sky" data-speed="0.5" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <defs>
          <linearGradient id="dusk" x1="0" y1="0" x2="0" y2="1">
            <stop offset="0" stop-color="#121c22" />
            <stop offset="0.55" stop-color="#3a4a50" />
            <stop offset="0.85" stop-color="#9a8462" />
            <stop offset="1" stop-color="#c9a46a" />
          </linearGradient>
          <radialGradient id="halo">
            <stop offset="0" stop-color="#f1dcae" stop-opacity="0.35" />
            <stop offset="1" stop-color="#f1dcae" stop-opacity="0" />
          </radialGradient>
        </defs>
        <rect width="1600" height="900" fill="url(#dusk)" />
        <circle class="sun-glow" cx="1180" cy="330" r="150" fill="url(#halo)" />
        <circle class="sun" cx="1180" cy="330" r="40" fill="#f1dcae" opacity="0.85" />
        <g class="stars" fill="#e9e4da" opacity="0.5">
          <circle cx="210" cy="120" r="1.6" />
          <circle cx="420" cy="80" r="1.2" />
          <circle cx="640" cy="160" r="1.4" />
          <circle cx="900" cy="70" r="1.1" />
          <circle cx="1320" cy="140" r="1.5" />
          <circle cx="1480" cy="60" r="1.2" />
          <circle cx="760" cy="230" r="1" />
          <circle cx="300" cy="260" r="1.1" />
        </g>
        <!-- a few birds crossing the dusk -->
        <g class="birds" fill="none" stroke="#141c20" stroke-width="2.4" stroke-linecap="round">
          <path class="bird" d="M-60 300 q 8 -8 16 0 q 8 -8 16 0" />
          <path class="bird" d="M-110 330 q 6 -6 12 0 q 6 -6 12 0" />
          <path class="bird" d="M-160 290 q 7 -7 14 0 q 7 -7 14 0" />
        </g>
      </svg>
      <svg class="layer far" data-speed="0.3" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <path d="M0 640 C 160 600, 260 520, 420 540 S 700 610, 860 560 S 1120 470, 1300 520 S 1520 590, 1600 570 V 900 H 0 Z" fill="#2b3a3c" />
        <rect y="660" width="1600" height="240" fill="#22302f" opacity="0.6" />
      </svg>
      <!-- mist lying in the valleys, drifting slowly across -->
      <svg class="layer mist" data-speed="0.25" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <defs>
          <filter id="haze" x="-20%" y="-50%" width="140%" height="200%"><feGaussianBlur stdDeviation="22" /></filter>
        </defs>
        <g filter="url(#haze)" fill="#c9cfc8">
          <ellipse class="fog f1" cx="300" cy="650" rx="420" ry="34" opacity="0.18" />
          <ellipse class="fog f2" cx="1100" cy="620" rx="520" ry="30" opacity="0.14" />
          <ellipse class="fog f3" cx="700" cy="700" rx="600" ry="40" opacity="0.16" />
        </g>
      </svg>
      <svg class="layer mid" data-speed="0.2" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <path
          d="M0 720 C 200 690, 340 640, 520 660 S 800 730, 980 700 L 1080 690 L 1090 600 L 1100 600 L 1108 690 C 1250 690, 1420 720, 1600 700 V 900 H 0 Z"
          fill="#18211f"
        />
        <path d="M1086 606 L 1112 606 L 1099 590 Z" fill="#e6b45c" />
        <!-- the lighthouse is lit: its beam sweeps the sea and the lamp breathes -->
        <g class="beam">
          <path d="M1099 598 L 1700 540 L 1700 660 Z" fill="url(#ray)" />
        </g>
        <circle class="lamp" cx="1099" cy="598" r="16" fill="url(#lampglow)" />
        <defs>
          <linearGradient id="ray" x1="0" y1="0" x2="1" y2="0">
            <stop offset="0" stop-color="#f6d58e" stop-opacity="0.55" />
            <stop offset="1" stop-color="#f6d58e" stop-opacity="0" />
          </linearGradient>
          <radialGradient id="lampglow">
            <stop offset="0" stop-color="#ffe8b0" />
            <stop offset="1" stop-color="#ffe8b0" stop-opacity="0" />
          </radialGradient>
        </defs>
      </svg>
      <svg class="layer near" data-speed="0.1" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <path d="M0 800 C 180 770, 300 760, 420 790 S 620 860, 760 850 S 1000 800, 1200 830 S 1460 880, 1600 860 V 900 H 0 Z" fill="#0d1113" />
      </svg>
      <div class="cover-text">
        <p class="kicker">A long read · Fiction</p>
        <h1>The Long Way North</h1>
        <p class="standfirst">Five days on foot along a coast that does not want to be hurried.</p>
      </div>
    </header>

    <main>
      <p class="lead reveal" id="story">
        Nobody walks this coast for the view on the first day. The first day is rain, and a path that keeps losing its nerve at the edge of the fields. The view
        comes later, and only to people who kept going.
      </p>

      <!-- scrollytelling: the map stays pinned, each day draws more of the route -->
      <section class="journey" id="route" aria-label="The route, day by day">
        <figure class="map" aria-hidden="true">
          <svg viewBox="0 0 300 520">
            <!-- contours inland, a north mark, and the walker who follows the drawn line -->
            <path class="contour" d="M10 500 C 30 430, -6 392, 22 346 S 4 262, 42 222 S 34 128, 84 96 S 150 34, 222 22" />
            <path class="contour" d="M-14 470 C 4 410, -20 380, 2 340 S -12 270, 18 236 S 12 150, 58 116 S 120 60, 196 44" />
            <g class="north" transform="translate(262 470)">
              <path d="M0 -16 L 6 4 L 0 0 L -6 4 Z" />
              <text y="18" text-anchor="middle">N</text>
            </g>
            <path class="coast" d="M40 510 C 60 440, 20 400, 50 350 S 30 260, 70 220 S 60 120, 110 90 S 170 20, 250 10" />
            <path class="route-bg" d="M70 490 C 90 430, 60 390, 85 345 S 70 265, 105 230 S 100 140, 140 110 S 190 50, 240 40" />
            <path class="route" d="M70 490 C 90 430, 60 390, 85 345 S 70 265, 105 230 S 100 140, 140 110 S 190 50, 240 40" />
            <g class="stops">
              <circle cx="70" cy="490" r="5" />
              <circle cx="85" cy="345" r="5" />
              <circle cx="105" cy="230" r="5" />
              <circle cx="140" cy="110" r="5" />
              <circle cx="240" cy="40" r="5" />
            </g>
            <g class="walker" transform="translate(240 40)">
              <circle class="walker-halo" r="12" />
              <circle r="4.5" />
            </g>
          </svg>
          <figcaption>Route drawn for illustration. Not to scale.</figcaption>
        </figure>

        <div class="days">
          <article class="day">
            <p class="day-n">Day one</p>
            <h2>The harbour</h2>
            <p>We left before the cafés opened. The harbour wall was the last straight line we would see for a while.</p>
          </article>
          <article class="day">
            <p class="day-n">Day two</p>
            <h2>The salt marsh</h2>
            <p>The path turned into boardwalk and then into an opinion. We followed the posts and trusted the birds.</p>
          </article>
          <article class="day">
            <p class="day-n">Day three</p>
            <h2>The cliffs</h2>
            <p>Up, for most of the morning. At the top the wind took every sentence and gave back only the vowels.</p>
          </article>
          <article class="day">
            <p class="day-n">Day four</p>
            <h2>The forest</h2>
            <p>Quiet, after the cliffs. Moss on everything, and a stream that ran beside us like it was also late.</p>
          </article>
          <article class="day">
            <p class="day-n">Day five</p>
            <h2>The lighthouse</h2>
            <p>We saw it an hour before we reached it. It did not get closer for most of that hour, and then it did.</p>
          </article>
        </div>
      </section>

      <blockquote class="pull reveal">“The view comes later, and only to people who kept going.”</blockquote>

      <p class="reveal">
        At the lighthouse there was a bench, and on the bench there was nothing to do. We sat on it anyway, for longer than any of the days had taken to
        describe.
      </p>

      <!-- after the story: what the walk took, in things and in figures -->

      <!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
      <section class="kit-section kit-zoomer" id="cliffs" aria-labelledby="cliffs-title">
        <div class="kit-head"><h2 id="cliffs-title" class="kit-reveal">Day three, from the top</h2></div>
        <figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
          <svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
            <defs>
              <linearGradient id="pz" x1="0" y1="0" x2="0" y2="1">
                <stop offset="0" stop-color="#2a3a40" />
                <stop offset="1" stop-color="#8a7a5c" />
              </linearGradient>
            </defs>
            <rect width="1050" height="450" fill="url(#pz)" />
            <path d="M0 230 C 160 200, 260 140, 420 170 S 700 120, 860 160 S 1000 190, 1050 180 V 450 H 0 Z" fill="#2b3a3c" />
            <path d="M0 300 C 120 260, 220 250, 330 280 L 360 200 L 420 210 L 470 300 C 600 330, 800 290, 1050 310 V 450 H 0 Z" fill="#18211f" />
            <path d="M0 380 C 200 360, 400 400, 600 380 S 900 360, 1050 390 V 450 H 0 Z" fill="#0d1113" />
            <path d="M360 200 L 420 210 L 470 300" fill="none" stroke="#e6b45c" stroke-width="2" stroke-dasharray="4 6" />
          </svg>
        </figure>
        <p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
          The cliffs, drawn from a sketch in the notebook. The dashed line is the path; it is steeper than it looks.
        </p>
      </section>

      <!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
      <section class="kit-section kit-carousel" id="notebook" aria-labelledby="notebook-title">
        <div class="kit-head">
          <h2 id="notebook-title" class="kit-reveal">From the notebook</h2>
          <div class="kit-buttons">
            <button type="button" data-dir="-1" aria-label="Previous sketch">←</button><button type="button" data-dir="1" aria-label="Next sketch">→</button>
          </div>
        </div>
        <div class="kit-track" tabindex="0" role="region" aria-label="From the notebook">
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(#3d4b4f, #1b2a33)" aria-hidden="true"></div>
            <figcaption>
              <h3>The harbour wall</h3>
              <p>The last straight line for a while.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: repeating-linear-gradient(90deg, #2b3a3c 0 22px, #22302f 22px 26px)" aria-hidden="true"></div>
            <figcaption>
              <h3>Boardwalk</h3>
              <p>Posts, birds and an opinion.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(135deg, #5d6466, #2f3537)" aria-hidden="true"></div>
            <figcaption>
              <h3>Wind</h3>
              <p>Drawn with the pencil held in a glove.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: radial-gradient(circle at 40% 60%, #4a5a3a, #18211f 70%)" aria-hidden="true"></div>
            <figcaption>
              <h3>Moss</h3>
              <p>Everything green, and wet.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: radial-gradient(circle at 50% 30%, #e6b45c 0 6%, #3a3020 30%, #0d1113 70%)" aria-hidden="true"></div>
            <figcaption>
              <h3>The light</h3>
              <p>An hour away, for most of an hour.</p>
            </figcaption>
          </figure>
        </div>
      </section>
      <section class="kit" id="kit" aria-labelledby="kit-title">
        <h2 id="kit-title" class="reveal">What we carried</h2>
        <ul>
          <li class="reveal"><b>Boots</b> worn in for a month before</li>
          <li class="reveal"><b>A paper map</b> because the signal gave up first</li>
          <li class="reveal"><b>Two layers</b> and one that kept the rain out</li>
          <li class="reveal"><b>A flask</b> refilled at every café that was open</li>
        </ul>
      </section>

      <section class="figures" aria-label="The walk in figures">
        <div class="reveal"><b>5</b><span>days on foot</span></div>
        <div class="reveal"><b>1</b><span>coast, followed north</span></div>
        <div class="reveal"><b>0</b><span>shortcuts taken</span></div>
      </section>

      <section class="more" id="more" aria-labelledby="more-title">
        <h2 id="more-title" class="reveal">Read next</h2>
        <div class="cards">
          <article class="card reveal">
            <div class="card-art a"></div>
            <p class="day-n">Essay</p>
            <h3>Islands in winter</h3>
            <p>Three crossings in the season the ferries would rather skip.</p>
          </article>
          <article class="card reveal">
            <div class="card-art b"></div>
            <p class="day-n">Field notes</p>
            <h3>A week of fog</h3>
            <p>What a coast sounds like when you cannot see it.</p>
          </article>
          <article class="card reveal">
            <div class="card-art c"></div>
            <p class="day-n">Guide</p>
            <h3>Packing light, properly</h3>
            <p>Everything we took, and the half we should have left.</p>
          </article>
        </div>
      </section>

      <!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
      <section class="kit-section kit-feed" id="stories" aria-labelledby="stories-title">
        <div class="kit-head"><h2 id="stories-title" class="kit-reveal">More from North</h2></div>
        <ul class="kit-list" aria-live="polite">
          <li>
            <span class="kit-tag">Essay</span>
            <p><b>The ferry that waits</b>On a timetable that bends to the weather.</p>
          </li>
          <li>
            <span class="kit-tag">Field notes</span>
            <p><b>Counting lighthouses</b>Seven in five days, if you count the broken one.</p>
          </li>
          <li>
            <span class="kit-tag">Guide</span>
            <p><b>Walking in rain</b>What keeps you dry, and what only feels like it does.</p>
          </li>
        </ul>
        <template
          ><li>
            <span class="kit-tag">Essay</span>
            <p><b>Harbour mornings</b>Before the cafés open, the coast belongs to the gulls.</p>
          </li>
          <li>
            <span class="kit-tag">Field notes</span>
            <p><b>A map in pencil</b>Why we stopped trusting the blue dot.</p>
          </li>
          <li>
            <span class="kit-tag">Guide</span>
            <p><b>Boots, properly</b>A month of wearing them in, and why it matters.</p>
          </li>
          <li>
            <span class="kit-tag">Essay</span>
            <p><b>The long way</b>On choosing the slower path on purpose.</p>
          </li>
          <li>
            <span class="kit-tag">Field notes</span>
            <p><b>Salt</b>It gets into everything, including the notebook.</p>
          </li>
          <li>
            <span class="kit-tag">Guide</span>
            <p><b>Coming home</b>How to carry a coast back with you.</p>
          </li></template
        >
        <div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
      </section>
      <section class="letter" aria-labelledby="letter-title">
        <h2 id="letter-title" class="reveal">The next story, by email</h2>
        <p class="reveal">One long read a month. Nothing in between.</p>
        <a class="btn reveal" href="mailto:north@example.com?subject=The%20next%20story">Send me the next one</a>
      </section>
    </main>

    <footer class="foot">
      <p class="mast-name">North</p>
      <nav aria-label="Footer">
        <a href="#story">Story</a>
        <a href="#route">Route</a>
        <a href="#kit">Kit</a>
        <a href="#top">Back to top</a>
      </nav>
      <p class="end">A fictional magazine and story, written for the Scrollcraft tutorial.</p>
    </footer>

    <script src="app.js"></script>
  </body>
</html>
Vezi pe tot ecranul
Se deschide într-un tab nou. Editezi și vezi rezultatul imediat.
1

Brieful

O revistă vrea o poveste de călătorie în care cititorul urmărește traseul în timp ce citește. Textul e pe primul loc; harta îl susține și nu trebuie să-l încurce niciodată pe telefon.

2

Tehnici folosite

O copertă desenată ca un peisaj în patru straturi SVG (cer și lună, dealuri îndepărtate, un promontoriu cu far, faleze apropiate), cu parallax (tehnica 7). Paragrafe care apar o singură dată (tehnica 3). Scrollytelling cu o hartă fixată (tehnica 9): traseul se desenează cu stroke-dashoffset, un drumeț stă în vârful liniei desenate, iar lumina paginii trece de la amurg la noapte și la zori pe măsură ce se schimbă zilele. O bară de progres a lecturii.

3

De ce pare un film

Textul rămâne calm și ușor de citit, cu un font serif la o lungime de rând comodă. Toată mișcarea stă pe margine: harta se desenează pe măsură ce cititorul înaintează, așa că povestea și traseul merg în același ritm. Harta spune că e desenată ca ilustrație, ca nimeni să n-o ia drept date reale.

4

Prompturi ca să-l refaci

Prompt
Construiește un articol lung despre [subiect], pentru [public], care se încheie cu [o acțiune]. HTML, CSS și JavaScript simplu, în trei fișiere, fără biblioteci. O copertă pe tot ecranul cu trei straturi de parallax, text serif cu aproximativ 65 de caractere pe rând și o secțiune în care o hartă SVG rămâne fixată în stânga, în timp ce cinci capitole scurte se derulează în dreapta. Desenează traseul cu stroke-dashoffset din progresul scrollului și aprinde fiecare oprire când capitolul ei trece prin mijlocul ecranului. Scrie CSS-ul întâi pentru telefon: layoutul de telefon ca bază, ecranele mai late adăugate cu query-uri min-width.
Prompt
Pe telefoane pune harta deasupra textului, mai mică, și păstrează fiecare capitol destul de înalt ca să poată fi citit. Cu prefers-reduced-motion desenează tot traseul dintr-odată și oprește parallaxul. Etichetează harta ca ilustrativă, dacă nu-ți dau coordonate reale.
5

Desenează-ți propriul traseu

Desenează traseul în orice editor vectorial, exportă-l ca SVG și copiază-i atributul d. Scriptul îl măsoară, așa că orice formă merge:

JavaScript
const route = document.querySelector('.route');
const length = route.getTotalLength();
route.style.strokeDasharray = length;
// la scroll, cu p de la 0 la 1:
route.style.strokeDashoffset = length * (1 - p);
6

Gata de portofoliu

Bifează fiecare punct când versiunea ta îl îndeplinește. Bifele rămân în acest browser.

0 din 7 criterii îndeplinite

05 · Studiu de caz pentru o agenție

Halden Studio

Un studiu de caz pentru un studio fictiv care a reproiectat o linie de feriboturi. Construit cu GSAP: un proces spus într-o secțiune fixată, un traseu desenat pe măsură ce derulezi și lucrările arătate pe o bandă care se mișcă lateral.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Halden Studio · Tidewater, a case study</title>
    <meta name="description" content="A fictional design studio case study, built for the Scrollcraft tutorial." />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <!-- the film layer: letterbox bars for the signature moment, and grain -->
    <div class="bars" aria-hidden="true"><i></i><i></i></div>
    <div class="grain" aria-hidden="true"></div>
    <div class="progress" aria-hidden="true"></div>
    <div class="cursor" aria-hidden="true"></div>
    <header class="nav">
      <a class="brand" href="#top">Halden</a>
      <nav class="links" aria-label="Sections">
        <a href="#process">Process</a>
        <a href="#route-title">Idea</a>
        <a href="#work-title">Work</a>
        <a href="#outcome">Outcome</a>
      </nav>
      <a class="contact-link" href="#contact">Start a project</a>
    </header>

    <main id="top">
      <section class="hero">
        <!-- the sea chart: contour lines drawn on a canvas; the tide rises as you scroll and the water answers the pointer -->
        <canvas class="tide" aria-hidden="true"></canvas>
        <p class="kicker">Case study · Tidewater ferries</p>
        <h1 class="title">A ferry line that reads like the coast it serves.</h1>
        <!-- the studio's one idea, drawn under the headline: the line between land and water -->
        <svg class="horizon" viewBox="0 0 1200 60" preserveAspectRatio="none" aria-hidden="true">
          <path d="M0 40 C 150 40, 220 14, 380 18 S 640 46, 820 30 S 1060 8, 1200 20" />
        </svg>
        <dl class="meta">
          <div>
            <dt>Scope</dt>
            <dd>Identity, wayfinding, motion</dd>
          </div>
          <div>
            <dt>Team</dt>
            <dd>Strategy, design, engineering</dd>
          </div>
        </dl>
      </section>

      <!-- process: pinned while three steps hand over; without motion they are a plain list -->
      <section class="process" id="process" aria-label="Process" data-tint="#061217">
        <div class="process-bar" aria-hidden="true"><i></i></div>
        <div class="big-num" aria-hidden="true"><span>01</span><span>02</span><span>03</span></div>
        <article class="step">
          <span class="num">01</span>
          <h2>Listen</h2>
          <p>Two weeks on the boats, with the crews and the people who ride them every day.</p>
        </article>
        <article class="step">
          <span class="num">02</span>
          <h2>Reduce</h2>
          <p>One idea: the line between land and water, drawn once and used everywhere.</p>
        </article>
        <article class="step">
          <span class="num">03</span>
          <h2>Move</h2>
          <p>Motion rules, so screens, signs and tickets all behave the same way.</p>
        </article>
      </section>

      <!-- the route draws itself as you scroll, and each stop lights up when the line reaches it -->
      <section class="route" aria-labelledby="route-title" data-tint="#05101a">
        <div class="route-pin">
          <h2 id="route-title">One line, drawn once.</h2>
          <svg viewBox="0 0 400 230" role="img" aria-label="The ferry route, from the harbour past the lighthouse to the islands">
            <defs>
              <pattern id="swell" width="14" height="8" patternUnits="userSpaceOnUse">
                <path d="M0 6 Q 3.5 3, 7 6 T 14 6" class="swell" />
              </pattern>
            </defs>
            <rect class="sea" width="400" height="230" fill="url(#swell)" />
            <!-- a channel between two coasts, and two islands at the far end -->
            <path class="land" d="M0 0 H 330 C 300 20, 262 36, 230 48 S 160 84, 120 102 S 50 150, 0 168 Z" />
            <path class="land" d="M400 230 H 64 C 110 196, 170 172, 226 152 S 330 116, 400 104 Z" />
            <path class="coast" d="M330 0 C 300 20, 262 36, 230 48 S 160 84, 120 102 S 50 150, 0 168" />
            <path class="coast" d="M64 230 C 110 196, 170 172, 226 152 S 330 116, 400 104" />
            <path class="contour" d="M290 0 C 262 16, 228 28, 200 40 S 136 72, 100 88 S 40 126, 0 140" />
            <path class="contour" d="M110 230 C 150 206, 200 188, 250 172 S 340 142, 400 134" />
            <path class="land island" d="M364 40 C 370 24, 392 20, 400 26 V 62 C 388 66, 360 58, 364 40 Z" />
            <path class="land island" d="M318 92 C 322 84, 338 82, 344 88 C 348 96, 336 102, 326 100 C 320 99, 316 97, 318 92 Z" />
            <path class="route-ghost" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
            <path class="route-wake" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
            <path class="route-line" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
            <circle class="stop" cx="20" cy="200" r="5" />
            <circle class="stop" cx="160" cy="125" r="5" />
            <circle class="stop" cx="380" cy="28" r="5" />
            <!-- the lighthouse beam, and the ferry that follows the line -->
            <path class="beam" d="M166 119 L 230 92 L 226 82 Z" />
            <g class="boat" transform="translate(380 28) rotate(-28)">
              <path d="M-9 -3 H 6 L 10 0 L 6 3 H -9 Z" />
              <rect x="-5" y="-1.6" width="7" height="3.2" rx="1" class="cabin" />
            </g>
          </svg>
          <ol class="stops">
            <li>Harbour</li>
            <li>Lighthouse</li>
            <li>Islands</li>
          </ol>
        </div>
      </section>

      <!-- deliverables: a strip that moves sideways while you scroll down; without motion, a grid -->
      <section class="work" aria-labelledby="work-title" data-tint="#0a0b0f">
        <div class="work-pin">
          <h2 id="work-title">What we made</h2>
          <div class="work-track">
            <figure class="tile">
              <div class="art a1"></div>
              <figcaption>Signs for every pier</figcaption>
            </figure>
            <figure class="tile">
              <div class="art a2"></div>
              <figcaption>Timetables you can read in the rain</figcaption>
            </figure>
            <figure class="tile">
              <div class="art a3"></div>
              <figcaption>Tickets that fold into a map</figcaption>
            </figure>
            <figure class="tile">
              <div class="art a4"></div>
              <figcaption>Screens on board</figcaption>
            </figure>
            <figure class="tile">
              <div class="art a5"></div>
              <figcaption>A livery for the boats</figcaption>
            </figure>
          </div>
        </div>
      </section>

      <!-- what changed: three short statements, then the brief in the client's words -->
      <section class="outcome" id="outcome" aria-labelledby="outcome-title" data-tint="#06080a">
        <h2 id="outcome-title" class="rise">What changed</h2>
        <ol class="outcomes">
          <li class="rise"><span>01</span><b>One system</b> for signs, screens, tickets and boats, where there had been four.</li>
          <li class="rise"><span>02</span><b>Timetables</b> set large enough to read from the back of a queue.</li>
          <li class="rise"><span>03</span><b>A line</b> that passengers now draw on postcards without being asked.</li>
        </ol>
        <blockquote class="brief rise">
          <p>“We asked for a new logo. We got a way of explaining the islands.”</p>
          <footer>The client, in the fictional brief</footer>
        </blockquote>
      </section>

      <section class="services" aria-labelledby="services-title">
        <h2 id="services-title" class="rise">What we do</h2>
        <ul>
          <li class="rise">Identity</li>
          <li class="rise">Wayfinding</li>
          <li class="rise">Digital products</li>
          <li class="rise">Motion systems</li>
        </ul>
      </section>

      <!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
      <section class="kit-section kit-zoomer" id="livery" aria-labelledby="livery-title">
        <div class="kit-head"><h2 id="livery-title" class="kit-reveal">The livery, up close</h2></div>
        <figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
          <svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
            <rect width="1050" height="450" fill="#0d1418" />
            <path d="M80 300 H 900 L 980 250 H 140 Z" fill="#eef1f2" />
            <path d="M80 300 H 900 L 980 250 L 990 270 L 910 330 H 100 Z" fill="#1e2428" />
            <path d="M120 285 C 300 270, 420 300, 600 280 S 860 262, 960 262" fill="none" stroke="#4fd1c5" stroke-width="5" />
            <rect x="420" y="190" width="260" height="60" rx="6" fill="#eef1f2" />
            <rect x="440" y="205" width="220" height="18" fill="#0d1418" />
            <path d="M0 360 C 120 350, 240 372, 360 360 S 620 350, 760 362 S 960 370, 1050 360" fill="none" stroke="#12202a" stroke-width="3" />
          </svg>
        </figure>
        <p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
          The line runs the length of every boat, at the height of the water it crosses.
        </p>
      </section>

      <!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
      <section class="kit-section kit-carousel" id="other" aria-labelledby="other-title">
        <div class="kit-head">
          <h2 id="other-title" class="kit-reveal">Other work</h2>
          <div class="kit-buttons">
            <button type="button" data-dir="-1" aria-label="Previous project">←</button><button type="button" data-dir="1" aria-label="Next project">→</button>
          </div>
        </div>
        <div class="kit-track" tabindex="0" role="region" aria-label="Other work">
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(90deg, #0d1418 0 40%, #4fd1c533 40% 55%, #0d1418 55%)" aria-hidden="true"></div>
            <figcaption>
              <h3>Northgate Library</h3>
              <p>Seven entrances, one way of finding your way.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: radial-gradient(circle at 30% 70%, #4fd1c544, transparent 50%), #0b1114" aria-hidden="true"></div>
            <figcaption>
              <h3>Harbour Market</h3>
              <p>Stalls, signs and a map on the floor.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: repeating-linear-gradient(0deg, #12202a 0 14px, #0b1114 14px 28px)" aria-hidden="true"></div>
            <figcaption>
              <h3>Coastal Rail</h3>
              <p>Timetables that fit on a ticket.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: conic-gradient(from 0deg at 50% 50%, #4fd1c533, #0b1114 40%)" aria-hidden="true"></div>
            <figcaption>
              <h3>Island Radio</h3>
              <p>A sound and a mark for a small station.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div class="kit-art" style="background: linear-gradient(160deg, #1b2a36, #06080a 70%)" aria-hidden="true"></div>
            <figcaption>
              <h3>Pier Theatre</h3>
              <p>Posters for a season by the sea.</p>
            </figcaption>
          </figure>
        </div>
      </section>

      <!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
      <section class="kit-section kit-feed" id="journal" aria-labelledby="journal-title">
        <div class="kit-head"><h2 id="journal-title" class="kit-reveal">Studio journal</h2></div>
        <ul class="kit-list" aria-live="polite">
          <li>
            <span class="kit-tag">Note</span>
            <p><b>Drawing with water</b>Why the Tidewater line wobbles on purpose.</p>
          </li>
          <li>
            <span class="kit-tag">Talk</span>
            <p><b>Motion for signs</b>Can a printed sign move? Ours pretend to.</p>
          </li>
          <li>
            <span class="kit-tag">Note</span>
            <p><b>The rain test</b>Every timetable is read from three metres in a shower.</p>
          </li>
        </ul>
        <template
          ><li>
            <span class="kit-tag">Note</span>
            <p><b>One accent colour</b>And what we say when asked for a second.</p>
          </li>
          <li>
            <span class="kit-tag">Talk</span>
            <p><b>Wayfinding is writing</b>The best sign is a short sentence.</p>
          </li>
          <li>
            <span class="kit-tag">Note</span>
            <p><b>Postcards</b>Passengers drew the line. We did not ask them to.</p>
          </li>
          <li>
            <span class="kit-tag">Note</span>
            <p><b>Night ferries</b>How the line works when the sea is black.</p>
          </li>
          <li>
            <span class="kit-tag">Talk</span>
            <p><b>Small studios, big systems</b>Five people, four hundred signs.</p>
          </li>
          <li>
            <span class="kit-tag">Note</span>
            <p><b>Starting again</b>What we keep from every project, and what we throw away.</p>
          </li></template
        >
        <div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
      </section>
      <!-- the next case study, as a teaser -->
      <section class="next" aria-labelledby="next-title">
        <p class="kicker">Next case study</p>
        <h2 id="next-title" class="rise">Northgate Library</h2>
        <p class="rise">Wayfinding for a building with seven entrances and no front door.</p>
        <div class="next-art rise" aria-hidden="true"></div>
      </section>

      <section class="contact" id="contact">
        <h2 class="end">Have a line to draw?</h2>
        <svg class="underline" viewBox="0 0 600 30" preserveAspectRatio="none" aria-hidden="true">
          <path d="M4 20 C 120 6, 220 26, 330 16 S 520 6, 596 14" />
        </svg>
        <a class="btn" href="#top">Start a project</a>
      </section>
    </main>

    <footer class="foot">
      <div class="foot-cols">
        <p class="brand">Halden</p>
        <ul>
          <li><a href="#process">Process</a></li>
          <li><a href="#work-title">Work</a></li>
          <li><a href="#outcome">Outcome</a></li>
        </ul>
        <ul>
          <li><a href="mailto:studio@example.com">studio@example.com</a></li>
          <li><a href="#top">Back to top</a></li>
        </ul>
      </div>
      <p class="foot-note">A fictional studio and client, built for the Scrollcraft tutorial.</p>
    </footer>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/gsap.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/ScrollTrigger.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/SplitText.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/DrawSVGPlugin.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/MotionPathPlugin.min.js"></script>
    <script src="app.js"></script>
  </body>
</html>
Vezi pe tot ecranul
Se deschide într-un tab nou. Editezi și vezi rezultatul imediat.
1

Brieful

Un studio vrea un singur studiu de caz care să arate cum gândește, nu doar ce a făcut: problema, procesul, ideea și lucrările, cu un final care te invită să începi un proiect. Va fi trimis clienților, deci trebuie să pară terminat pe orice ecran.

2

Tehnici folosite

Titlu împărțit în rândurile lui reale cu SplitText, fiecare ridicându-se dintr-o mască, cu linia studioului desenată sub el (GSAP, tehnicile 4 și 5). Un timeline de proces fixat, în care fiecare pas pleacă înainte să vină următorul, în timp ce un număr uriaș conturat se rostogolește la următorul (tehnicile 1 și 3). O hartă marină în care un singur timeline desenează traseul și dâra lui, duce feribotul de-a lungul lui cu MotionPathPlugin, rotește fasciculul farului și aprinde fiecare oprire. O bandă fixată care se mișcă lateral exact cât depășește ecranul, se înclină după viteza scrollului și lasă fiecare ilustrație să alunece în cadrul ei. Totul e creat în gsap.matchMedia.

3

De ce pare un film

O singură idee duce pagina: linia dintre insule. E desenată o singură dată, în ritmul cititorului, iar fiecare oprire la care ajunge se aprinde în culoarea de accent. Procesul ține ecranul cât se schimbă, ca o tăietură între trei cadre, iar banda de lucrări se mișcă lateral, o cotitură care îi spune cititorului că povestea s-a încheiat și au început rezultatele.

4

Prompturi ca să-l refaci

Prompt
Construiește un studiu de caz pe o pagină pentru [subiect], pentru [public], care se încheie cu [o acțiune]. HTML, CSS și JavaScript în trei fișiere, cu GSAP, ScrollTrigger, SplitText, DrawSVGPlugin și MotionPathPlugin de pe jsDelivr. Secțiuni: un titlu împărțit în rânduri care se ridică dintr-o mască, cu o linie desenată sub el; un proces fixat de trei pași în care fiecare dispare înainte să apară următorul, în timp ce un număr uriaș conturat se rostogolește la următorul; o hartă SVG a traseului în care un singur timeline derulat desenează linia și o dâră discretă, duce o ambarcațiune mică de-a lungul ei cu autoRotate și aprinde fiecare oprire când linia ajunge la ea; o bandă fixată de cinci lucrări care se mișcă lateral și se înclină după viteza scrollului; și un link de contact subliniat de aceeași linie. Fundal închis, o singură culoare de accent.
Prompt
Pune fiecare efect de scroll în gsap.matchMedia cu (prefers-reduced-motion: no-preference) și adaugă tot acolo clasa care pornește așezarea fixată. CSS-ul implicit trebuie să fie documentul simplu: pașii unul sub altul, traseul desenat complet cu toate opririle aprinse, lucrările într-o grilă. Rulează SplitText după document.fonts.ready, cu autoSplit, ca rândurile să fie măsurate în fontul real.
Prompt
Verifică la 375, 768 și 1440 px, cu și fără mișcare redusă, și pornește mișcarea redusă cu pagina deschisă: toate fixările trebuie să dispară și să revină așezarea simplă. Spune-mi ce n-ai putut testa.
5

Folosește propriul traseu

Desenează linia într-un editor vectorial, păstrează-i atributul d și pune câte un cerc pe ea pentru fiecare oprire. Scriptul găsește unde stă fiecare oprire de-a lungul liniei, așa că se aprinde la momentul potrivit pentru orice formă:

JavaScript
const at = stops.map((s) => {
  const x = +s.getAttribute('cx'), y = +s.getAttribute('cy');
  let best = 0, min = Infinity;
  for (let i = 0; i <= 200; i++) {
    const p = line.getPointAtLength((i / 200) * length);
    const d = (p.x - x) ** 2 + (p.y - y) ** 2;
    if (d < min) [min, best] = [d, i / 200];
  }
  return best; // de la 0 la 1 de-a lungul liniei
});
6

Gata de portofoliu

Bifează fiecare punct când versiunea ta îl îndeplinește. Bifele rămân în acest browser.

0 din 7 criterii îndeplinite

06 · Prezentare de produs în WebGL

Atelier Sora

O pagină de produs pentru un atelier fictiv de ceramică. O vază three.js din spatele paginii se rotește când derulezi, iar glazura se poate schimba. Fără WebGL, îi ține locul un desen.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Sora · a stoneware vase, thrown by hand</title>
    <meta name="description" content="A fictional product landing page in WebGL, built for the Scrollcraft tutorial." />
    <link rel="stylesheet" href="style.css" />
    <script type="importmap">
      { "imports": { "three": "https://cdn.jsdelivr.net/npm/three@0.187.0/build/three.module.js" } }
    </script>
  </head>
  <body>
    <a class="skip" href="#making">Skip to the story</a>
    <header class="nav">
      <a class="brand" href="#top">Sora</a>
      <nav class="links" aria-label="Sections">
        <a href="#making">Making</a>
        <a href="#glazes">Glazes</a>
        <a href="#details">Details</a>
        <a href="#studio">Studio</a>
      </nav>
      <a class="buy" href="#order">Order</a>
    </header>

    <!-- the scene: one three.js canvas behind the whole page; a drawing stands in when WebGL is missing -->
    <canvas class="stage" aria-hidden="true"></canvas>
    <div class="heat" aria-hidden="true"></div>
    <!-- film: letterbox bars that close in while the story plays, and a fine grain over everything -->
    <div class="bars" aria-hidden="true"><i></i><i></i></div>
    <div class="grain" aria-hidden="true"></div>
    <div class="progress" aria-hidden="true"></div>
    <svg class="fallback" viewBox="0 0 120 200" aria-hidden="true">
      <ellipse class="fb-shadow" cx="60" cy="196" rx="46" ry="4" />
      <path d="M38 196 H82 Q90 196 92 186 Q104 130 98 96 Q92 64 74 46 Q70 30 72 6 H48 Q50 30 46 46 Q28 64 22 96 Q16 130 28 186 Q30 196 38 196 Z" />
    </svg>

    <!-- where the piece is in the making; the chapter being read is lit -->
    <nav class="steps" aria-label="Chapters">
      <ol>
        <li>
          <a href="#clay"><span>01</span> Clay</a>
        </li>
        <li>
          <a href="#thrown"><span>02</span> Thrown</a>
        </li>
        <li>
          <a href="#trimmed"><span>03</span> Trimmed</a>
        </li>
        <li>
          <a href="#fired"><span>04</span> Fired</a>
        </li>
        <li>
          <a href="#glazed"><span>05</span> Glazed</a>
        </li>
      </ol>
    </nav>

    <main id="top">
      <section class="scene hero" data-stage="0">
        <p class="kicker reveal">Atelier Sora · Stoneware</p>
        <h1 class="mega">
          <span class="ln"><span>Thrown</span></span>
          <span class="ln"
            ><span>by <em>hand.</em></span></span
          >
        </h1>
        <p class="lede reveal">One vase, made from a single piece of clay. Scroll, and watch it being made.</p>
        <p class="cue" aria-hidden="true"><i></i>Scroll</p>
      </section>

      <div id="making">
        <section class="scene chapter" id="clay" data-stage="1" data-side="left">
          <p class="big-n" aria-hidden="true">01</p>
          <h2>
            <span class="ln"><span>A lump of</span></span
            ><span class="ln"><span>wet clay.</span></span>
          </h2>
          <p class="reveal">Every Sora starts the same way: one weighed piece of stoneware, wedged by hand until there is no air left in it.</p>
        </section>
        <section class="scene chapter" id="thrown" data-stage="2" data-side="right">
          <p class="big-n" aria-hidden="true">02</p>
          <h2>
            <span class="ln"><span>Pulled up</span></span
            ><span class="ln"><span>on the wheel.</span></span>
          </h2>
          <p class="reveal">Opened, then raised in three pulls. The rings a potter’s fingers leave stay until the wall is smoothed.</p>
        </section>
        <section class="scene chapter" id="trimmed" data-stage="3" data-side="left">
          <p class="big-n" aria-hidden="true">03</p>
          <h2>
            <span class="ln"><span>Trimmed a</span></span
            ><span class="ln"><span>day later.</span></span>
          </h2>
          <p class="reveal">When the clay is leather-hard, the foot is cut. The vase sits lower, lighter and steady.</p>
        </section>
        <section class="scene chapter" id="fired" data-stage="4" data-side="right">
          <p class="big-n" aria-hidden="true">04</p>
          <h2>
            <span class="ln"><span>Fired</span></span
            ><span class="ln"><span>until it glows.</span></span>
          </h2>
          <p class="reveal">Twice through the kiln. The second firing is hot enough to turn clay into stone.</p>
        </section>
        <section class="scene chapter" id="glazed" data-stage="5" data-side="left">
          <p class="big-n" aria-hidden="true">05</p>
          <h2>
            <span class="ln"><span>Dipped</span></span
            ><span class="ln"><span>in glaze.</span></span>
          </h2>
          <p class="reveal">Held by the foot and dipped once. Where the glaze stops, the bare clay shows: no two lines are alike.</p>
        </section>
      </div>

      <section class="scene glazes" id="glazes" data-stage="6">
        <h2 class="reveal">Two glazes</h2>
        <p class="reveal">Choose one. The vase changes with you.</p>
        <div class="swatches" role="group" aria-label="Glaze">
          <button type="button" data-glaze="celadon" aria-pressed="true"><i></i><span>Celadon</span><small>Pale green, glassy</small></button>
          <button type="button" data-glaze="tenmoku" aria-pressed="false"><i></i><span>Tenmoku</span><small>Dark iron, glossy</small></button>
        </div>
      </section>

      <!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
      <section class="kit-section kit-zoomer sheet" data-stage="7" id="close" aria-labelledby="close-title">
        <div class="kit-head"><h2 id="close-title" class="kit-reveal">Up close</h2></div>
        <figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
          <div
            style="
              background:
                radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.35), transparent 30%),
                radial-gradient(#2d3a30 1px, transparent 1.8px) 0 0 / 22px 26px,
                radial-gradient(#3a4a3c 1.2px, transparent 2px) 9px 13px / 31px 23px,
                linear-gradient(170deg, #b4cdb8, #8fae97 60%, #d9c6a8 61%, #cdb796);
            "
          ></div>
        </figure>
        <p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
          Iron in the clay rises through the glaze in the kiln and leaves these dark specks. No two pieces have the same pattern.
        </p>
      </section>

      <!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
      <section class="kit-section kit-carousel sheet" data-stage="7" id="batches" aria-labelledby="batches-title">
        <div class="kit-head">
          <h2 id="batches-title" class="kit-reveal">Past batches</h2>
          <div class="kit-buttons">
            <button type="button" data-dir="-1" aria-label="Previous batch">←</button><button type="button" data-dir="1" aria-label="Next batch">→</button>
          </div>
        </div>
        <div class="kit-track" tabindex="0" role="region" aria-label="Past batches">
          <figure class="kit-card">
            <div
              class="kit-art"
              style="
                background:
                  radial-gradient(ellipse 34% 40% at 50% 58%, #9fbfa8 0 98%, transparent 100%),
                  radial-gradient(ellipse 12% 6% at 50% 20%, #9fbfa8 0 98%, transparent 100%),
                  linear-gradient(90deg, transparent 44%, #9fbfa8 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
                  #15110d;
              "
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Batch 14</h3>
              <p>Celadon, a little greener than usual.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="
                background:
                  radial-gradient(ellipse 34% 40% at 50% 58%, #4a2d1c 0 98%, transparent 100%),
                  radial-gradient(ellipse 12% 6% at 50% 20%, #4a2d1c 0 98%, transparent 100%),
                  linear-gradient(90deg, transparent 44%, #4a2d1c 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
                  #15110d;
              "
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Batch 13</h3>
              <p>Tenmoku, glossy, with rust at the lip.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="
                background:
                  radial-gradient(ellipse 34% 40% at 50% 58%, #b9cdb6 0 98%, transparent 100%),
                  radial-gradient(ellipse 12% 6% at 50% 20%, #b9cdb6 0 98%, transparent 100%),
                  linear-gradient(90deg, transparent 44%, #b9cdb6 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
                  #15110d;
              "
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Batch 12</h3>
              <p>Celadon, thin, the clay shows through.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="
                background:
                  radial-gradient(ellipse 34% 40% at 50% 58%, #2f1d12 0 98%, transparent 100%),
                  radial-gradient(ellipse 12% 6% at 50% 20%, #2f1d12 0 98%, transparent 100%),
                  linear-gradient(90deg, transparent 44%, #2f1d12 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
                  #15110d;
              "
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Batch 11</h3>
              <p>Tenmoku, dipped twice.</p>
            </figcaption>
          </figure>
          <figure class="kit-card">
            <div
              class="kit-art"
              style="
                background:
                  radial-gradient(ellipse 34% 40% at 50% 58%, #d6c2a6 0 98%, transparent 100%),
                  radial-gradient(ellipse 12% 6% at 50% 20%, #d6c2a6 0 98%, transparent 100%),
                  linear-gradient(90deg, transparent 44%, #d6c2a6 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
                  #15110d;
              "
              aria-hidden="true"
            ></div>
            <figcaption>
              <h3>Batch 10</h3>
              <p>The first batch with a trimmed foot.</p>
            </figcaption>
          </figure>
        </div>
      </section>

      <!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
      <section class="kit-section kit-feed sheet" data-stage="7" id="kiln" aria-labelledby="kiln-title">
        <div class="kit-head"><h2 id="kiln-title" class="kit-reveal">Notes from the kiln</h2></div>
        <ul class="kit-list" aria-live="polite">
          <li>
            <span class="kit-tag">Firing 42</span>
            <p><b>A slow cool</b>We left the kiln shut a day longer. The celadon came out clearer.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 41</span>
            <p><b>Two cracked</b>The clay was too wet at trimming. Back to the wheel.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 40</span>
            <p><b>Tenmoku test</b>More iron, and the edge of the glaze turned rust.</p>
          </li>
        </ul>
        <template
          ><li>
            <span class="kit-tag">Firing 39</span>
            <p><b>A new shelf</b>Twelve vases fit now, if nobody breathes.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 38</span>
            <p><b>The foot</b>Trimmed a little deeper, and the vase sits lower.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 37</span>
            <p><b>Dipping by hand</b>Every glaze line is different, which is the point.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 36</span>
            <p><b>Bisque</b>The first firing, to make the clay strong enough to glaze.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 35</span>
            <p><b>Clay</b>A new stoneware, with more iron in it.</p>
          </li>
          <li>
            <span class="kit-tag">Firing 34</span>
            <p><b>The shape</b>One vase, the same shape, made again and again.</p>
          </li></template
        >
        <div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
      </section>
      <section class="sheet details" id="details" data-stage="7">
        <h2 class="reveal">Details</h2>
        <dl class="specs">
          <div class="reveal">
            <dt>Height</dt>
            <dd>24 cm</dd>
          </div>
          <div class="reveal">
            <dt>Widest</dt>
            <dd>17 cm</dd>
          </div>
          <div class="reveal">
            <dt>Clay</dt>
            <dd>Stoneware, fired twice</dd>
          </div>
          <div class="reveal">
            <dt>Inside</dt>
            <dd>Glazed, holds water</dd>
          </div>
        </dl>
      </section>

      <section class="sheet studio" id="studio" data-stage="7">
        <p class="kicker reveal">The studio</p>
        <p class="quote reveal">We make one shape, in small batches, and keep changing it a little. The vase you get is the one we made that week.</p>
        <ul class="facts">
          <li class="reveal"><b>One</b> shape, made by hand</li>
          <li class="reveal"><b>Two</b> firings in the kiln</li>
          <li class="reveal"><b>Small</b> batches, no two alike</li>
        </ul>
      </section>

      <section class="sheet order" id="order" data-stage="7">
        <h2 class="reveal">Sora vase</h2>
        <p class="reveal">Made in small batches. Tell us your glaze and we will write when the next batch is out of the kiln.</p>
        <a class="btn" href="mailto:studio@example.com?subject=Sora%20vase">Join the next batch</a>
      </section>
    </main>

    <footer class="foot">
      <p>Sora · a fictional atelier, built for the Scrollcraft tutorial.</p>
      <a href="#top">Back to top</a>
    </footer>
    <script type="module" src="app.js"></script>
  </body>
</html>
Vezi pe tot ecranul
Se deschide într-un tab nou. Editezi și vezi rezultatul imediat.
1

Brieful

Un atelier de ceramică vinde o singură vază în două glazuri și vrea ca oamenii să-i vadă forma din toate părțile înainte să comande. Majoritatea vizitatorilor vin de pe Instagram, de pe telefon, așa că trebuie să se încarce repede și să arate bine pe un ecran mic.

2

Tehnici folosite

O scenă three.js în spatele paginii (WebGL, scena 1) în care scrollul face vaza: patru curbe de profil cu același număr de puncte sunt amestecate, așa că un bulgăre de lut ud e ridicat pe roată, cu inelele lăsate de degete, apoi e fasonat cu un picior. Un singur material e lut sub o linie de glazură și glazură deasupra ei, cu o margine ondulată și pistrui de fier, scris în MeshStandardMaterial cu onBeforeCompile; linia coboară ca și cum piesa ar fi scufundată. Roata coboară din cadru, iar camera vine la o vedere din trei sferturi. Se desenează la cerere, cu densitatea de pixeli limitată la 2 (Păstrează-l rapid), iar o șină de pași arată unde ești în facere.

3

De ce pare un film

Obiectul e singurul lucru care se mișcă și se mișcă doar când te miști tu. Lumina caldă dintr-o parte și o margine rece din spate îi dau un aer de studio fără nicio textură. Cardurile sunt discrete și scurte, așa că ecranul e al vazei.

4

Prompturi ca să-l refaci

Prompt
Construiește o pagină de produs pentru [subiect], pentru [public], care se încheie cu [o acțiune]. HTML, CSS și JavaScript în trei fișiere, cu three.js încărcat de pe jsDelivr printr-un import map. Un singur canvas fix în spatele a cinci secțiuni scurte care spun cum e făcut produsul. Fă produsul din curbe de profil cu același număr de puncte (materia primă, prima formă, forma finală, forma finală cu picior), construiește un singur LatheGeometry și rescrie-i pozițiile ca să treacă de la una la alta pe măsură ce cititorul trece între secțiuni, recalculând normalele. Folosește un singur MeshStandardMaterial cu onBeforeCompile pentru un finisaj care acoperă piesa deasupra unei linii, cu o margine ondulată, și coboară linia cu scrollul. Luminează-l cu o lumină emisferică, o lumină principală caldă și o margine rece. Pe telefon pune-l în jumătatea de sus, deasupra textului; pe ecranele late, lângă el.
Prompt
Desenează la cerere: un singur requestAnimationFrame pus în coadă la scroll și la redimensionare, niciodată o buclă. Limitează densitatea de pixeli la 2. Creează rendererul într-un bloc try și arată un desen SVG al produsului dacă eșuează. Adaugă două butoane de culoare cu aria-pressed care schimbă materialul și desenul.
Prompt
Cu prefers-reduced-motion ține produsul într-o singură poziție și schimbă culoarea imediat. Verifică la 375, 768 și 1440 px și cu WebGL oprit și spune-mi ce n-ai putut testa.
5

Folosește un model real

Cu un model de la un artist 3D sau o scanare, exportă-l ca glTF, comprimă-l și încarcă-l în locul strungului. Păstrează desenarea la cerere: desenează o dată, când ajunge.

JavaScript
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';

new GLTFLoader().load('vase.glb', (gltf) => {
  group.remove(piece);
  group.add(gltf.scene);
  queue(); // desenează o dată, acum că a ajuns
});
6

Gata de portofoliu

Bifează fiecare punct când versiunea ta îl îndeplinește. Bifele rămân în acest browser.

0 din 7 criterii îndeplinite

07 · Fiecare tehnică, în fiecare proiect

Unde să cauți

Toate cele cinci proiecte folosesc același vocabular de scroll, fiecare cu vocea lui. Aici e locul fiecărei tehnici, ca să deschizi fișierul și s-o citești.

TehnicăOrbit OneField StudioThe Long Way NorthHalden StudioAtelier Sora
Poziționare stickyBoxa care se rotește; dispozitivul din turBanda de proces fixată; declarațiaHarta lângă zileProcesul și traseul, fixate de GSAPCanvasul din spatele paginii; șina de capitole
Scroll snapCaruselul „Where it fits”Caruselul „Journal”Caruselul „From the notebook”Caruselul „Other work”Caruselul „Past batches”
Declanșate de scrollRândurile titlului; aparițiiDezvăluiri cu clip; aparițiiParagrafe care apar o datăScrollTrigger.batch pentru secțiunile de finalRânduri și paragrafe, o dată
Scroll infinit„From the workshop”„Archive”„More from North”„Studio journal”„Notes from the kiln”
Conduse de scrollSecvența de cadre, bara de progresPoziția benzii, linia de progresDesenarea traseului, bara de progresTimeline-uri derulate, bara de progresTot filmul, bara de progres
Zoom la scroll„Made for the middle of the room”Zoomul invers din fiecare proiect„Day three, from the top”„The livery, up close”„Up close” și camera
ParallaxNumerele funcțiilor alunecă mai încetStraturile ilustrațiilor, după adâncimeCoperta în patru straturiTitlul și linia luiNumerele și titlurile capitolelor
Scroll orizontalCaruselul camerelorBanda de proces fixatăCaruselul carnetuluiBanda de lucrări fixatăCaruselul loturilor
ScrollytellingBoxa se deschide și se închideCuvintele declarațieiTraseul, zi cu ziFeribotul care traversează hartaDe la lut la vază, în cinci capitole
a

Stratul de film

Peste tehnici, toate proiectele împart un strat de film: o granulație fină, o apariție din negru la deschidere, benzi negre care se închid cât rulează momentul principal, inerție ca scena să alunece până se oprește și o mică aplecare după un pointer fin. Totul se oprește cu mișcare redusă, unde schimbările se fac imediat.

08 · Ce au toate cinci în comun

a

O singură buclă

Un singur listener de scroll programează un singur cadru de animație, iar tot ce urmează scrollul se actualizează acolo. Schimbările care se întâmplă o dată folosesc IntersectionObserver. În Halden Studio bucla e tickerul GSAP, iar Atelier Sora desenează un cadru doar când s-au schimbat scrollul sau glazura.

b

Se citește și fără efecte

Conținutul e ascuns doar sub o clasă pe care o adaugă scriptul (.js sau .animated în gsap.matchMedia), iar fiecare efect are o variantă statică pentru prefers-reduced-motion. Atelier Sora are un desen pentru când lipsește WebGL.

c

Reținere

Un singur font, cel mult un accent și o singură idee pe ecran. Mișcarea e acolo ca să dea ritm lecturii, nu ca s-o decoreze.

d

Întâi telefonul

Fiecare foaie de stil începe cu telefonul: o singură coloană, dispozitivul sau harta fixată deasupra și mai mică, iar banda care declanșează schimbările coborâtă în spațiul rămas pentru text. Ecranele mai late adaugă așezarea pe două coloane într-un query min-width, așa că telefonul nu moștenește niciodată un layout de desktop pe care trebuie să-l anuleze.

CSS
/* telefoane: scena deasupra, textul se derulează sub ea */
.tour { display: grid; }
.tour-device { position: sticky; top: 60px; height: 46svh; }

/* ecranele late adaugă a doua coloană */
@media (min-width: 761px) {
  .tour { grid-template-columns: 1fr 1fr; }
  .tour-device { top: 0; height: 100svh; }
}

09 · Verifică automat

Playwright
a

Încape pe orice ecran, stă nemișcat la cerere

Fiecare listă „gata de portofoliu” începe cu aceleași trei verificări, iar tutorialul le rulează pe toate cele cinci site-uri la fiecare schimbare. Rulează același test pe al tău: derulează pagina la trei lățimi căutând un scroll orizontal, apoi pornește mișcarea redusă și verifică că nu rulează nimic și că se vede totul. Pentru contrast, adaugă verificarea axe din Testare.

TypeScript
import { test, expect } from '@playwright/test';

for (const width of [375, 768, 1440]) {
  test(`fits at ${width} px`, async ({ page }) => {
    await page.setViewportSize({ width, height: 900 });
    await page.goto('/');
    /* scroll the whole page: pinned sections change the layout as they pass */
    const wide = await page.evaluate(async () => {
      for (let y = 0; y < document.documentElement.scrollHeight; y += innerHeight / 2) {
        scrollTo(0, y);
        await new Promise((r) => setTimeout(r, 50));
        if (document.documentElement.scrollWidth > innerWidth) return y;
      }
      return -1;
    });
    expect(wide).toBe(-1);
  });
}

test('reduced motion: nothing moves, everything reads', async ({ page }) => {
  await page.emulateMedia({ reducedMotion: 'reduce' });
  await page.goto('/');
  const running = await page.evaluate(() => document.getAnimations().filter((a) => a.playState === 'running').length);
  expect(running).toBe(0);
  for (const el of await page.locator('main :is(h1, h2, p)').all()) await expect(el).toBeVisible();
});

Practică · Lucrul cu AI

Aceeași sarcină, în unealta ta

Folosește exemplele ca referințe, nu ca șabloane: cere AI-ului să-ți explice o tehnică dintr-unul, apoi adapteaz-o la structura ta.

Deschide un terminal în folderul proiectului și rulează claude. Apasă Shift+Tab până se pornește modul plan, lipește promptul, citește planul, apoi aprobă-l. Regulile proiectului stau în CLAUDE.md.

Învață dintr-un exemplu

Prompt
Iată cele trei fișiere ale exemplului Field Studio. Listează tehnicile pe care le folosește, unde stă fiecare în cod și bucla comună care le conduce. Apoi spune-mi care s-ar potrivi în site-ul pentru [subiect] și de ce.

Adaptează, nu copia

Prompt
Citește CLAUDE.md. Adaugă dezvăluirea cu clip-path din exemplul Field Studio în secțiunile cu imagini din site-ul meu, folosind bucla de scroll și valorile de mișcare pe care le am deja, în loc să-i copiezi codul. Păstrează-mi markup-ul și numele claselor. Arată-mi întâi planul.

Practică · Exerciții

Încearcă, apoi compară
1

Găsește tehnicile

Derulează exemplul de lansare de produs și listează fiecare tehnică pe care o observi, înainte să-i citești analiza.

Indiciu: urmărește titlul, dispozitivul, cuvintele și linia de progres.

Arată soluția

Titlu dezvăluit rând cu rând peste orbite desenate, o secvență de cadre care se rotește, se deschide într-o vedere explodată și se închide pe buton, cuvinte aprinse de scroll, un tur de produs sticky cu inel de lumină și o linie de progres. Compară cu „Tehnici folosite”.

2

Bucla comună

Deschide app.js din exemplul de portofoliu. Găsește funcția care rulează la scroll și listează ce actualizează.

Indiciu: caută requestAnimationFrame.

Arată soluția

update() rulează cel mult o dată pe cadru și actualizează dezvăluirile cu clip-path și galeria orizontală; marquee-ul are propria buclă, care se oprește sub mișcare redusă.

3

Scoate un lucru

Alege un exemplu și decide ce singur efect ai scoate ca să fie mai calm. Explică ce câștigă pagina.

Indiciu: reținerea e unul dintre cele patru lucruri comune tuturor exemplelor.

Arată soluția

Nu există un singur răspuns corect. Unul bun numește efectul, ecranul pe care se bate cu altceva și ce poate observa acum cititorul în schimb.

Practică · Proiectul cursului

Un site, construit pe tot parcursul

Compară site-ul pentru [subiect] cu exemplul cel mai apropiat și împrumută corect o idee.

  1. Alege exemplul cel mai apropiat de site-ul tău și rulează „Învață dintr-un exemplu” cu fișierele lui.
  2. Rulează „Adaptează, nu copia” pentru o tehnică.
  3. Înlocuiește fiecare imagine sau cadru provizoriu din site cu materiale reale, comprimate.
  4. Verifică site-ul după cele patru lucruri comune tuturor exemplelor.
  5. Bifează lista „gata de portofoliu” a exemplului cel mai apropiat pentru site-ul tău și repară ce nu trece.

Practică · Testează

Verifici rezultatul
  • Tehnica împrumutată folosește bucla și valorile tale de mișcare, nu o a doua buclă.
  • În site nu mai sunt imagini provizorii sau text inventat.
  • Fiecare imagine are lățime, înălțime și text alternativ, iar cele de sub primul ecran se încarcă leneș.
  • Pus lângă exemplu, site-ul tău e la fel de calm la 375 de pixeli lățime.

Practică · Evaluare

Criterii de acceptare

0 din 5 criterii îndeplinite

Urmează Design systems

Culoare, tipografie, spațiere și mișcare ca tokenuri, componente care doar le citesc și un fișier de design pe care AI-ul îl urmează.

Scurtături de tastatură: [ capitolul anterior · ] capitolul următor