功能区块用网格简要介绍产品能做什么。每项包含一个图标、一个使用文字前景色的简短标题和一句说明。网格随区块自身宽度从一栏变为两栏,再变为三栏。
功能
<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>列出各项功能。每项标题使用<h3>,从属于区块的<h2>。
六项就足够了。三项有说服力的功能胜过罗列九项。
#用面板展示
将每项功能放在一块凸起面板上,再将面板放入托盘,间距为 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留空。功能截图则应提供描述。