網站導覽

v2.1.0
行銷區塊

功能特色

將產品能做的事排成簡短說明的網格:每項包含一個圖示、一句醒目的標題和一句說明。

功能特色區塊以網格簡潔說明產品能做什麼。每項包含一個圖示、幾個醒目的標題文字和一句說明。網格會依區塊自身寬度,從一欄變成兩欄,再變成三欄。

功能特色

<section class="container-inline px-lg py-4xl" aria-labelledby="features-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Platform</p>      <h2 class="heading heading-2xl" id="features-title">Everything between a push and a page.</h2>      <p class="lead">        Atlas is the part you would rather not build: the pipeline, the network and the certificates.      </p>    </header>    <ul class="grid gap-xl row-gap-2xl m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <path d="M10 1.6667C5 5.8333 4.5833 10.8333 7.0833 15.4167H12.9167C15.4167 10.8333 15 5.8333 10 1.6667Z" /><circle cx="10" cy="8.3333" r="1" fill="currentColor" stroke="none" /><path d="M12.5059 15.4167Q12.6134 15.5471 12.7721 15.6266L15.7283 17.1047A0.8249 0.8249 0 0 0 16.9109 16.5023L17.6842 11.8631A0.8257 0.8257 0 0 0 17.4914 11.1839L14.9083 8.2317A0.8274 0.8274 0 0 0 14.1839 7.9561C14.3744 8.793 14.4431 9.6377 14.3995 10.4832L14.5438 9.7135L16.4181 11.8557L15.7727 15.7292L13.6179 14.6519L13.9005 13.1446C13.6551 13.9094 13.3247 14.6686 12.9167 15.4167H12.5059ZM5.8161 7.9561A0.8199 0.8199 0 0 0 5.0917 8.2318L2.5086 11.1839A0.8257 0.8257 0 0 0 2.3158 11.8631L3.089 16.5023A0.825 0.825 0 0 0 4.2717 17.1047L7.2279 15.6266Q7.3866 15.5471 7.4941 15.4167H7.0833C6.6753 14.6686 6.3449 13.9094 6.0995 13.1446L6.3821 14.6519L4.2274 15.7292L3.5818 11.8557L5.4562 9.7135L5.6005 10.4832C5.5569 9.6377 5.6256 8.793 5.8161 7.9561Z" fill="currentColor" stroke="none" fill-rule="evenodd" /><path d="M8.3333 18.75L11.6667 18.75" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Deploy on every push</h3>        <p class="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="10" cy="10" r="7.5" /><path d="M10.9634 2.5621A7.504 7.504 0 0 0 9.0366 2.5621Q7.6452 3.9922 6.8517 5.7596Q6.0678 7.5056 5.9561 9.375H2.5261A7.4963 7.4963 0 0 0 2.5261 10.625H5.9561Q6.0678 12.4944 6.8517 14.2404Q7.6452 16.0078 9.0366 17.4378A7.492 7.492 0 0 0 10.9634 17.4378Q12.3547 16.0078 13.1483 14.2404Q13.9322 12.4944 14.0439 10.625H17.4739A7.4963 7.4963 0 0 0 17.4739 9.375H14.0439Q13.9322 7.5056 13.1483 5.7596Q12.3547 3.9922 10.9634 2.5621ZM12.0079 6.2716Q12.6818 7.7726 12.7913 9.375H7.2087Q7.3182 7.7726 7.9921 6.2716Q8.7137 4.6643 10 3.3652Q11.2863 4.6643 12.0079 6.2716ZM7.9921 13.7284Q7.3182 12.2274 7.2087 10.625H12.7913Q12.6818 12.2274 12.0079 13.7284Q11.2863 15.3357 10 16.6348Q8.7137 15.3357 7.9921 13.7284Z" fill="currentColor" stroke="none" fill-rule="evenodd" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Fourteen regions</h3>        <p class="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <path d="M9.6667 2.6667Q10 2.5 10.3333 2.6667C12.0833 4 14.5833 4.75 16.3333 5Q16.6667 5 16.6667 5.3333V9.1667C16.6667 13.3333 14.1667 16.25 10.3333 17.4Q10 17.5 9.6667 17.4C5.8333 16.25 3.3333 13.3333 3.3333 9.1667V5.3333Q3.3333 5 3.6667 5C5.4167 4.75 7.9167 4 9.6667 2.6667Z" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Certificates that renew</h3>        <p class="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <rect x="3" y="10" width="3" height="7.5" rx="0.75" /><rect x="8.5" y="4" width="3" height="13.5" rx="0.75" /><rect x="14" y="7.5" width="3" height="10" rx="0.75" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Analytics without cookies</h3>        <p class="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="5" cy="4.5833" r="2.0833" /><circle cx="5" cy="15.4167" r="2.0833" /><circle cx="15" cy="4.5833" r="2.0833" /><path d="M5 6.6667L5 13.3333" /><path d="M15 6.6667C15 12.0833 5 9.1667 5 13.3333" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Rollbacks in seconds</h3>        <p class="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="7.75" cy="5.6" r="2.5" /><path d="M2.75 17.25V15.75C2.75 13.4 4.7 11.9 6.6 11.9H8.9C10.8 11.9 12.75 13.4 12.75 15.75V17.25" /><path d="M13.8 3.2C17.175 3.2 17.175 8.2 13.8 8.2" /><path d="M15 11.9C16.9 12.2 17.75 14.1 17.75 15.75V17.25" />          </svg>        </span>        <h3 class="heading heading-sm mt-xs">Built for teams</h3>        <p class="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
import RocketIcon from '@master/icons-react/native/20/soft/rocket'import GlobeIcon from '@master/icons-react/native/20/soft/globe'import ShieldIcon from '@master/icons-react/native/20/soft/shield'import ChartBarIcon from '@master/icons-react/native/20/soft/chart-bar'import GitBranchIcon from '@master/icons-react/native/20/soft/git-branch'import UsersIcon from '@master/icons-react/native/20/soft/users'<section className="container-inline px-lg py-4xl" aria-labelledby="features-title">  <div className="flex flex-col gap-2xl max-w(1040) mx-auto">    <header className="flex flex-col gap-sm max-w(560)">      <p className="eyebrow">Platform</p>      <h2 className="heading heading-2xl" id="features-title">        Everything between a push and a page.      </h2>      <p className="lead">        Atlas is the part you would rather not build: the pipeline, the network and the certificates.      </p>    </header>    <ul className="grid gap-xl row-gap-2xl m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <RocketIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Deploy on every push</h3>        <p className="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <GlobeIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Fourteen regions</h3>        <p className="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <ShieldIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Certificates that renew</h3>        <p className="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <ChartBarIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Analytics without cookies</h3>        <p className="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <GitBranchIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Rollbacks in seconds</h3>        <p className="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li className="flex flex-col gap-xs">        <span className="icon-frame icon-frame-sm" aria-hidden="true">          <UsersIcon className="icon" />        </span>        <h3 className="heading heading-sm mt-xs">Built for teams</h3>        <p className="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
<script>  import RocketIcon from '@master/icons-svelte/native/20/soft/rocket'  import GlobeIcon from '@master/icons-svelte/native/20/soft/globe'  import ShieldIcon from '@master/icons-svelte/native/20/soft/shield'  import ChartBarIcon from '@master/icons-svelte/native/20/soft/chart-bar'  import GitBranchIcon from '@master/icons-svelte/native/20/soft/git-branch'  import UsersIcon from '@master/icons-svelte/native/20/soft/users'</script><section class="container-inline px-lg py-4xl" aria-labelledby="features-title">  <div class="flex flex-col gap-2xl max-w(1040) mx-auto">    <header class="flex flex-col gap-sm max-w(560)">      <p class="eyebrow">Platform</p>      <h2 class="heading heading-2xl" id="features-title">Everything between a push and a page.</h2>      <p class="lead">        Atlas is the part you would rather not build: the pipeline, the network and the certificates.      </p>    </header>    <ul class="grid gap-xl row-gap-2xl m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true"><RocketIcon class="icon" /></span>        <h3 class="heading heading-sm mt-xs">Deploy on every push</h3>        <p class="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true"><GlobeIcon class="icon" /></span>        <h3 class="heading heading-sm mt-xs">Fourteen regions</h3>        <p class="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true"><ShieldIcon class="icon" /></span>        <h3 class="heading heading-sm mt-xs">Certificates that renew</h3>        <p class="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <ChartBarIcon class="icon" />        </span>        <h3 class="heading heading-sm mt-xs">Analytics without cookies</h3>        <p class="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true">          <GitBranchIcon class="icon" />        </span>        <h3 class="heading heading-sm mt-xs">Rollbacks in seconds</h3>        <p class="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li class="flex flex-col gap-xs">        <span class="icon-frame icon-frame-sm" aria-hidden="true"><UsersIcon class="icon" /></span>        <h3 class="heading heading-sm mt-xs">Built for teams</h3>        <p class="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
<script setup>import RocketIcon from '@master/icons-vue/native/20/soft/rocket'import GlobeIcon from '@master/icons-vue/native/20/soft/globe'import ShieldIcon from '@master/icons-vue/native/20/soft/shield'import ChartBarIcon from '@master/icons-vue/native/20/soft/chart-bar'import GitBranchIcon from '@master/icons-vue/native/20/soft/git-branch'import UsersIcon from '@master/icons-vue/native/20/soft/users'</script><template>  <section class="container-inline px-lg py-4xl" aria-labelledby="features-title">    <div class="flex flex-col gap-2xl max-w(1040) mx-auto">      <header class="flex flex-col gap-sm max-w(560)">        <p class="eyebrow">Platform</p>        <h2 class="heading heading-2xl" id="features-title">          Everything between a push and a page.        </h2>        <p class="lead">          Atlas is the part you would rather not build: the pipeline, the network and the certificates.        </p>      </header>      <ul class="grid gap-xl row-gap-2xl m(0) p(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <RocketIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Deploy on every push</h3>          <p class="m(0) leading-md">            A preview for each branch and production from main, with nothing to configure.          </p>        </li>        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <GlobeIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Fourteen regions</h3>          <p class="m(0) leading-md">            Requests are answered from the region nearest the visitor, on our network.          </p>        </li>        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <ShieldIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Certificates that renew</h3>          <p class="m(0) leading-md">            Every domain is served over HTTPS, and nobody has to remember a date.          </p>        </li>        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <ChartBarIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Analytics without cookies</h3>          <p class="m(0) leading-md">            Traffic and speed measured at the edge, so there is no banner to dismiss.          </p>        </li>        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <GitBranchIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Rollbacks in seconds</h3>          <p class="m(0) leading-md">            A deployment never changes. Going back is choosing an earlier one.          </p>        </li>        <li class="flex flex-col gap-xs">          <span class="icon-frame icon-frame-sm" aria-hidden="true">            <UsersIcon class="icon" />          </span>          <h3 class="heading heading-sm mt-xs">Built for teams</h3>          <p class="m(0) leading-md">            Comments on previews, roles for members and a log of who changed what.          </p>        </li>      </ul>    </div>  </section></template>

區塊提供可直接複製的標記,沿用頁面的文字顏色和大小。預覽在 body 上設定 fg-text-body text-sm。每個區塊都是尺寸查詢容器,因此會依自身寬度調整版面配置。

#組成

  • 維持適讀欄寬的開頭。 將標題上方的短標籤、標題和導言放進 max-w(560) 的欄位。下方網格比上方文字寬,讓開頭自然形成獨立的標題區。
  • 依容器寬度調整的網格。 grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl) 讓區塊寬度達 42rem 時排成兩欄,達 64rem 時排成三欄。用 row-gap-2xl 搭配 gap-xl,讓列間距大於欄間距,每項特色因此更容易辨識為一組。
  • 圖示框內的圖示。 icon-frame icon-frame-sm 把每個圖示以高對比的前景色壓進 40px 的凹槽;它就是為「說明某項功能主題的圖示」而設的元件,所以這個區塊不自己畫凹槽。請避免使用彩色底塊,將色相留給狀態提示。
  • 清單。 特色項目是 <ul> 裡的 <li>,每項標題都是隸屬於區塊 <h2> 的 <h3>。

六項就很夠了。三項有說服力的特色,勝過列出九項。

#放在面板上

將每項特色放在托盤內的獨立面板上,面板彼此相隔 4px。每列選一項占兩欄,並在左右兩側交替安排。托盤的圓角半徑等於面板的圓角半徑加上內縮距離,因此內外圓角能彼此對齊。

放在面板上

<section class="container-inline px-lg py-4xl" aria-labelledby="features-sheets-title">  <div class="flex flex-col gap-xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Platform</p>      <h2 class="heading heading-2xl max-w(560)" id="features-sheets-title">        Everything between a push and a page.      </h2>    </header>    <ul class="tray grid gap(4) m(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <path d="M8 1.3333C4 4.6667 3.6667 8.6667 5.6667 12.3333H10.3333C12.3333 8.6667 12 4.6667 8 1.3333Z" /><circle cx="8" cy="6.6667" r="0.85" fill="currentColor" stroke="none" /><path d="M10.016 12.3333Q10.1079 12.4463 10.2446 12.5147L12.5342 13.6594A0.6999 0.6999 0 0 0 13.5377 13.1484L14.1443 9.5091Q14.1989 9.1824 13.9807 8.9328L11.9808 6.6473A0.7011 0.7011 0 0 0 11.3582 6.4146C11.5022 7.0678 11.5536 7.7269 11.5195 8.3865L11.635 7.7707L13.1346 9.4845L12.6181 12.5833L10.8942 11.7215L11.1203 10.5157C10.924 11.1275 10.6597 11.7349 10.3333 12.3333H10.016ZM4.6418 6.4146A0.6958 0.6958 0 0 0 4.0192 6.6473L2.0193 8.9328Q1.8012 9.1824 1.8557 9.5091L2.4623 13.1484A0.6999 0.6999 0 0 0 3.4658 13.6594L5.7554 12.5147Q5.8921 12.4463 5.984 12.3333H5.6667C5.3403 11.7349 5.076 11.1275 4.8797 10.5157L5.1058 11.7215L3.3819 12.5833L2.8654 9.4845L4.365 7.7707L4.4805 8.3865C4.4464 7.7269 4.4978 7.0678 4.6418 6.4146Z" fill="currentColor" stroke="none" fill-rule="evenodd" /><path d="M6.6667 15L9.3333 15" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Deploy on every push</h3>        <p class="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="8" cy="8" r="6" /><path d="M8.7707 2.0497A6.0005 6.0005 0 0 0 7.2293 2.0497Q6.1162 3.1938 5.4813 4.6077Q4.8542 6.0044 4.7648 7.5H2.0209A5.9913 5.9913 0 0 0 2.0209 8.5H4.7648Q4.8542 9.9956 5.4813 11.3923Q6.1162 12.8062 7.2293 13.9503A6.0005 6.0005 0 0 0 8.7707 13.9503Q9.8838 12.8062 10.5187 11.3923Q11.1458 9.9956 11.2352 8.5H13.9791A5.9913 5.9913 0 0 0 13.9791 7.5H11.2352Q11.1458 6.0044 10.5187 4.6077Q9.8838 3.1938 8.7707 2.0497ZM9.6064 5.0173Q10.1455 6.2181 10.2331 7.5H5.7669Q5.8545 6.2181 6.3936 5.0173Q6.971 3.7314 8 2.6921Q9.029 3.7314 9.6064 5.0173ZM6.3936 10.9827Q5.8545 9.7819 5.7669 8.5H10.2331Q10.1455 9.7819 9.6064 10.9827Q9.029 12.2686 8 13.3079Q6.971 12.2686 6.3936 10.9827Z" fill="currentColor" stroke="none" fill-rule="evenodd" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Fourteen regions</h3>        <p class="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <path d="M7.7333 2.1333Q8 2 8.2667 2.1333C9.6667 3.2 11.6667 3.8 13.0667 4Q13.3333 4 13.3333 4.2667V7.3333C13.3333 10.6667 11.3333 13 8.2667 13.92Q8 14 7.7333 13.92C4.6667 13 2.6667 10.6667 2.6667 7.3333V4.2667Q2.6667 4 2.9333 4C4.3333 3.8 6.3333 3.2 7.7333 2.1333Z" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Certificates that renew</h3>        <p class="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <rect x="2" y="8" width="2.5" height="6" rx="0.75" /><rect x="6.75" y="3" width="2.5" height="11" rx="0.75" /><rect x="11.5" y="6" width="2.5" height="8" rx="0.75" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Analytics without cookies</h3>        <p class="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="4" cy="3.6667" r="1.6667" /><circle cx="4" cy="12.3333" r="1.6667" /><circle cx="12" cy="3.6667" r="1.6667" /><path d="M4 5.3333L4 10.6667" /><path d="M12 5.3333C12 9.6667 4 7.3333 4 10.6667" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Rollbacks in seconds</h3>        <p class="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong">          <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">            <circle cx="6.25" cy="4.5" r="2" /><path d="M2.25 13.75V12.5C2.25 10.7 3.85 9.5 5.35 9.5H7.15C8.65 9.5 10.25 10.7 10.25 12.5V13.75" /><path d="M11.1 2.6C13.8 2.6 13.8 6.6 11.1 6.6" /><path d="M12 9.5C13.5 9.75 14.25 11.25 14.25 12.5V13.75" />          </svg>        </span>        <h3 class="heading heading-sm mt-sm">Built for teams</h3>        <p class="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
import RocketIcon from '@master/icons-react/native/16/soft/rocket'import GlobeIcon from '@master/icons-react/native/16/soft/globe'import ShieldIcon from '@master/icons-react/native/16/soft/shield'import ChartBarIcon from '@master/icons-react/native/16/soft/chart-bar'import GitBranchIcon from '@master/icons-react/native/16/soft/git-branch'import UsersIcon from '@master/icons-react/native/16/soft/users'<section className="container-inline px-lg py-4xl" aria-labelledby="features-sheets-title">  <div className="flex flex-col gap-xl max-w(1040) mx-auto">    <header className="flex flex-col items-center gap-sm text-center">      <p className="eyebrow">Platform</p>      <h2 className="heading heading-2xl max-w(560)" id="features-sheets-title">        Everything between a push and a page.      </h2>    </header>    <ul className="tray grid gap(4) m(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li className="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span className="fg-text-strong"><RocketIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Deploy on every push</h3>        <p className="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li className="sheet sheet-raised flex flex-col gap-xs p-lg">        <span className="fg-text-strong"><GlobeIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Fourteen regions</h3>        <p className="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li className="sheet sheet-raised flex flex-col gap-xs p-lg">        <span className="fg-text-strong"><ShieldIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Certificates that renew</h3>        <p className="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li className="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span className="fg-text-strong"><ChartBarIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Analytics without cookies</h3>        <p className="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li className="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span className="fg-text-strong"><GitBranchIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Rollbacks in seconds</h3>        <p className="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li className="sheet sheet-raised flex flex-col gap-xs p-lg">        <span className="fg-text-strong"><UsersIcon className="icon" /></span>        <h3 className="heading heading-sm mt-sm">Built for teams</h3>        <p className="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
<script>  import RocketIcon from '@master/icons-svelte/native/16/soft/rocket'  import GlobeIcon from '@master/icons-svelte/native/16/soft/globe'  import ShieldIcon from '@master/icons-svelte/native/16/soft/shield'  import ChartBarIcon from '@master/icons-svelte/native/16/soft/chart-bar'  import GitBranchIcon from '@master/icons-svelte/native/16/soft/git-branch'  import UsersIcon from '@master/icons-svelte/native/16/soft/users'</script><section class="container-inline px-lg py-4xl" aria-labelledby="features-sheets-title">  <div class="flex flex-col gap-xl max-w(1040) mx-auto">    <header class="flex flex-col items-center gap-sm text-center">      <p class="eyebrow">Platform</p>      <h2 class="heading heading-2xl max-w(560)" id="features-sheets-title">        Everything between a push and a page.      </h2>    </header>    <ul class="tray grid gap(4) m(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong"><RocketIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Deploy on every push</h3>        <p class="m(0) leading-md">          A preview for each branch and production from main, with nothing to configure.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong"><GlobeIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Fourteen regions</h3>        <p class="m(0) leading-md">          Requests are answered from the region nearest the visitor, on our network.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong"><ShieldIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Certificates that renew</h3>        <p class="m(0) leading-md">          Every domain is served over HTTPS, and nobody has to remember a date.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong"><ChartBarIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Analytics without cookies</h3>        <p class="m(0) leading-md">          Traffic and speed measured at the edge, so there is no banner to dismiss.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">        <span class="fg-text-strong"><GitBranchIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Rollbacks in seconds</h3>        <p class="m(0) leading-md">          A deployment never changes. Going back is choosing an earlier one.        </p>      </li>      <li class="sheet sheet-raised flex flex-col gap-xs p-lg">        <span class="fg-text-strong"><UsersIcon class="icon" /></span>        <h3 class="heading heading-sm mt-sm">Built for teams</h3>        <p class="m(0) leading-md">          Comments on previews, roles for members and a log of who changed what.        </p>      </li>    </ul>  </div></section>
<script setup>import RocketIcon from '@master/icons-vue/native/16/soft/rocket'import GlobeIcon from '@master/icons-vue/native/16/soft/globe'import ShieldIcon from '@master/icons-vue/native/16/soft/shield'import ChartBarIcon from '@master/icons-vue/native/16/soft/chart-bar'import GitBranchIcon from '@master/icons-vue/native/16/soft/git-branch'import UsersIcon from '@master/icons-vue/native/16/soft/users'</script><template>  <section class="container-inline px-lg py-4xl" aria-labelledby="features-sheets-title">    <div class="flex flex-col gap-xl max-w(1040) mx-auto">      <header class="flex flex-col items-center gap-sm text-center">        <p class="eyebrow">Platform</p>        <h2 class="heading heading-2xl max-w(560)" id="features-sheets-title">          Everything between a push and a page.        </h2>      </header>      <ul class="tray grid gap(4) m(0) grid-cols(2)@container(--2xl) grid-cols(3)@container(--5xl)">        <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">          <span class="fg-text-strong"><RocketIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Deploy on every push</h3>          <p class="m(0) leading-md">            A preview for each branch and production from main, with nothing to configure.          </p>        </li>        <li class="sheet sheet-raised flex flex-col gap-xs p-lg">          <span class="fg-text-strong"><GlobeIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Fourteen regions</h3>          <p class="m(0) leading-md">            Requests are answered from the region nearest the visitor, on our network.          </p>        </li>        <li class="sheet sheet-raised flex flex-col gap-xs p-lg">          <span class="fg-text-strong"><ShieldIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Certificates that renew</h3>          <p class="m(0) leading-md">            Every domain is served over HTTPS, and nobody has to remember a date.          </p>        </li>        <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">          <span class="fg-text-strong"><ChartBarIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Analytics without cookies</h3>          <p class="m(0) leading-md">            Traffic and speed measured at the edge, so there is no banner to dismiss.          </p>        </li>        <li class="sheet sheet-raised flex flex-col gap-xs p-lg grid-col-span(2)@container(--5xl)">          <span class="fg-text-strong"><GitBranchIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Rollbacks in seconds</h3>          <p class="m(0) leading-md">            A deployment never changes. Going back is choosing an earlier one.          </p>        </li>        <li class="sheet sheet-raised flex flex-col gap-xs p-lg">          <span class="fg-text-strong"><UsersIcon class="icon" /></span>          <h3 class="heading heading-sm mt-sm">Built for teams</h3>          <p class="m(0) leading-md">            Comments on previews, roles for members and a log of who changed what.          </p>        </li>      </ul>    </div>  </section></template>

#深入介紹一項功能

把整個寬度留給最能說服訪客的功能。區塊寬度達 64rem 時,將說明放在一側,圖文元件放在另一側。導言下方用項目清單和 bullets-check 列出三項簡短佐證。勾號對齊各項第一行,三項文字都從同一條邊開始。

深入介紹一項功能

<section class="container-inline px-lg py-4xl" aria-labelledby="features-depth-title">  <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--5xl)">    <div class="flex flex-col gap-lg">      <header class="flex flex-col gap-sm">        <p class="eyebrow">Previews</p>        <h2 class="heading heading-2xl" id="features-depth-title">          Review the thing, not a screenshot of it.        </h2>        <p class="lead">          Every branch is a working site at its own address, built exactly as production will be.        </p>      </header>      <ul class="bullets bullets-check gap-md">        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">Comments on the page</p>          <p class="m(0) leading-md">            Click an element and say what you see. The note follows it between deployments.          </p>        </li>        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">A check on the pull request</p>          <p class="m(0) leading-md">The link is in the place your team already reviews code.</p>        </li>        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">Private by default</p>          <p class="m(0) leading-md">Previews ask for a sign-in until you share them.</p>        </li>      </ul>    </div>    <figure class="figure figure-framed">      <img class="figure-media" src="/demo/scenes/interior-desk-window-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">    </figure>  </div></section>
<section className="container-inline px-lg py-4xl" aria-labelledby="features-depth-title">  <div className="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--5xl)">    <div className="flex flex-col gap-lg">      <header className="flex flex-col gap-sm">        <p className="eyebrow">Previews</p>        <h2 className="heading heading-2xl" id="features-depth-title">          Review the thing, not a screenshot of it.        </h2>        <p className="lead">          Every branch is a working site at its own address, built exactly as production will be.        </p>      </header>      <ul className="bullets bullets-check gap-md">        <li className="bullets-item">          <p className="m(0) fg-text-strong font-medium">Comments on the page</p>          <p className="m(0) leading-md">            Click an element and say what you see. The note follows it between deployments.          </p>        </li>        <li className="bullets-item">          <p className="m(0) fg-text-strong font-medium">A check on the pull request</p>          <p className="m(0) leading-md">            The link is in the place your team already reviews code.          </p>        </li>        <li className="bullets-item">          <p className="m(0) fg-text-strong font-medium">Private by default</p>          <p className="m(0) leading-md">Previews ask for a sign-in until you share them.</p>        </li>      </ul>    </div>    <figure className="figure figure-framed">      <img className="figure-media" src="/demo/scenes/interior-desk-window-3x2.webp" alt="" width="2000" height="1333" style={{ '--figure-ratio': '3 / 2' } as React.CSSProperties} />    </figure>  </div></section>
<section class="container-inline px-lg py-4xl" aria-labelledby="features-depth-title">  <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--5xl)">    <div class="flex flex-col gap-lg">      <header class="flex flex-col gap-sm">        <p class="eyebrow">Previews</p>        <h2 class="heading heading-2xl" id="features-depth-title">          Review the thing, not a screenshot of it.        </h2>        <p class="lead">          Every branch is a working site at its own address, built exactly as production will be.        </p>      </header>      <ul class="bullets bullets-check gap-md">        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">Comments on the page</p>          <p class="m(0) leading-md">            Click an element and say what you see. The note follows it between deployments.          </p>        </li>        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">A check on the pull request</p>          <p class="m(0) leading-md">The link is in the place your team already reviews code.</p>        </li>        <li class="bullets-item">          <p class="m(0) fg-text-strong font-medium">Private by default</p>          <p class="m(0) leading-md">Previews ask for a sign-in until you share them.</p>        </li>      </ul>    </div>    <figure class="figure figure-framed">      <img class="figure-media" src="/demo/scenes/interior-desk-window-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">    </figure>  </div></section>
<template>  <section class="container-inline px-lg py-4xl" aria-labelledby="features-depth-title">    <div class="grid gap-2xl items-center max-w(1040) mx-auto grid-cols(2)@container(--5xl)">      <div class="flex flex-col gap-lg">        <header class="flex flex-col gap-sm">          <p class="eyebrow">Previews</p>          <h2 class="heading heading-2xl" id="features-depth-title">            Review the thing, not a screenshot of it.          </h2>          <p class="lead">            Every branch is a working site at its own address, built exactly as production will be.          </p>        </header>        <ul class="bullets bullets-check gap-md">          <li class="bullets-item">            <p class="m(0) fg-text-strong font-medium">Comments on the page</p>            <p class="m(0) leading-md">              Click an element and say what you see. The note follows it between deployments.            </p>          </li>          <li class="bullets-item">            <p class="m(0) fg-text-strong font-medium">A check on the pull request</p>            <p class="m(0) leading-md">The link is in the place your team already reviews code.</p>          </li>          <li class="bullets-item">            <p class="m(0) fg-text-strong font-medium">Private by default</p>            <p class="m(0) leading-md">Previews ask for a sign-in until you share them.</p>          </li>        </ul>      </div>      <figure class="figure figure-framed">        <img class="figure-media" src="/demo/scenes/interior-desk-window-3x2.webp" alt width="2000" height="1333" style="--figure-ratio: 3 / 2">      </figure>    </div>  </section></template>

#無障礙

  • 每項標題已說明功能,圖示僅供裝飾,請設為 aria-hidden="true"。
  • 維持標題層級。區塊使用一個 <h2>,每項特色各用一個 <h3>。
  • 佐證文字應能獨立讀懂,無須依靠勾號。
  • 範例中的圖片只用來營造氛圍,因此 alt 留空。若使用功能的螢幕截圖,就要提供文字描述。