<ComponentName> Specification

发布时间:2026/9/11 8:24:29
<ComponentName> Specification Specification【免费下载链接】ai-website-cloner-templateClone any website with one command using AI coding agents项目地址: https://gitcode.com/GitHub_Trending/ai/ai-website-cloner-templateOverviewTarget file:src/components/sites/site-key/page-key/ComponentName.tsxScreenshot:docs/design-references/site-key/page-key/screenshot-name.pngInteraction model:static | click-driven | scroll-driven | time-drivenDOM Structure元素层级——谁包含谁Computed Styles (exact values from getComputedStyle)Containerdisplay: ...padding: ...maxWidth: ...Child element 1fontSize: ...color: ...States BehaviorsBehavior name, e.g., Scroll-triggered floating modeTrigger:精确机制——scroll position 50px、IntersectionObserver rootMargin -30% 0px、点击 .tab-button、hoverState A (before):maxWidth: 100vw, boxShadow: none, borderRadius: 0State B (after):maxWidth: 1200px, boxShadow: 0 4px 20px rgba(0,0,0,0.1), borderRadius: 16pxTransition:transition: all 0.3s easeImplementation approach:CSS transition scroll listener | IntersectionObserver | CSS animation-timeline | 等Hover states:: → , transition:Per-State Content (if applicable)State: FeaturedTitle: ...Cards: [{ title, description, image, link }, ...]AssetsBackground image:public/sites/site-key/page-key/images/file.webpIcons used: , ...Text Content (verbatim)从线上站逐字复制的全部文本Responsive BehaviorDesktop (1440px):布局描述Tablet (768px):变化——如保持 2 列gap 缩至 16pxMobile (390px):变化——如堆叠单列图片全宽Breakpoint:布局在约 px 切换【免费下载链接】ai-website-cloner-templateClone any website with one command using AI coding agents项目地址: https://gitcode.com/GitHub_Trending/ai/ai-website-cloner-template创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考