开场动画
进站先放一小段品牌动画:Logo 淡入、百分比数字往上跳,然后幕布向上拉开露出首页。用来建立品牌印象,控制在 2 秒左右,别挡住真实内容。
欢迎回家
◆ LOGO0%
实现提示词
Add an intro preloader to the homepage: centered logo fades in, a percentage counter counts 0 to 100, then the full-screen curtain slides up to reveal the page. About 2s in total, play once per session (sessionStorage), skippable by click or Esc, and skipped entirely when prefers-reduced-motion is set. Finish as soon as the page is ready; never delay content that has already loaded.Intro preloader timeline: logo fade and rise (0–0.5s), counter 0 to 100 with ease-out plus a thin progress line (0.3–1.6s), then the curtain slides up with translateY(-100%) over 0.7s using cubic-bezier(.76,0,.24,1), hero text staggers in after the curtain. Pure CSS and vanilla JS, sessionStorage guard, reduced-motion shows the final state.设计规范条目
### Intro / Preloader Animation (#intro-loader) Category: Motion Intro / preloader: a short branded sequence on page load—logo fades in, a counter ticks up, then a curtain lifts to reveal the page. Builds brand impression; keep it near 2 seconds and never block real content. - Do: Add an intro preloader to the homepage: centered logo fades in, a percentage counter counts 0 to 100, then the full-screen curtain slides up to reveal the page - Do: About 2s in total, play once per session (sessionStorage), skippable by click or Esc, and skipped entirely when prefers-reduced-motion is set - Do: Finish as soon as the page is ready - Avoid: keep it near 2 seconds and never block real content - Avoid: never delay content that has already loaded With motion: Intro preloader timeline: logo fade and rise (0–0.5s), counter 0 to 100 with ease-out plus a thin progress line (0.3–1.6s), then the curtain slides up with translateY(-100%) over 0.7s using cubic-bezier(.76,0,.24,1), hero text staggers in after the curtain. Pure CSS and vanilla JS, sessionStorage guard, reduced-motion shows the final state. Live demo: https://uidesignmd.com/guides/intro-loader/