Skip to content
cccskills
FreePublished on GitHub

frame-liquid-bg-hero

Create a single HTML file with a flowing, animated background and a prominent quote or headline. Use it for a video intro, a landing page's main visual, or a poster, with landscape and portrait layouts available.

OriginalShow the original description

WebGL-style fluid displacement background with a quote overlay, suited to video intros, landing heroes, or posters.

See how to install

Good for

  • Creating a video intro with a short message
  • Designing a landing page's main visual
  • Making a poster with a flowing background

Files included (5)

  • SKILL.md4.0 KB
  • example.md205 B
  • package.json321 B
  • source/index.html3.6 KB
  • template.html-video.yaml1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

【模板: 流体背景 Hero】 【意图】可作为视频片头帧、SaaS landing 顶部 hero、海报底图。WebGL 流体感, 但用 CSS / canvas 退化绘制, 确保单文件可双击打开。Inspired by hyperframes vfx-liquid-background。

【画布】1920×1080 (横) 或 1080×1920 (竖), 二选一。背景占满。

【流体背景 — 3 种实现, 按用户偏好选】

  1. CSS 多层 radial-gradient 错位呼吸 (最稳, 默认推荐):
    • 3-5 个大椭圆 radial-gradient(...), 颜色取自调色板。
    • 每个椭圆套 @keyframes 平移 + scale + hue-rotate, 周期 8-14s, 错峰; 整个画面叠 mix-blend-mode: screen 或 overlay。
    • 顶层加 1 层 backdrop-filter: blur(80px) 让边缘更糊。
  2. Canvas + simple perlin noise (中阶):
    • 80 行 inline JS, 用 requestAnimationFrame 画 metaballs 或 simplex noise field。
    • 性能允许时启用, prefers-reduced-motion 时降回静态截图。
  3. WebGL fragment shader (高阶, 慎用):
    • 用 jsdelivr CDN 引 regl 或 inline plain WebGL。
    • shader 写 domain-warp noise; 单个 quad, 一个 uniform u_time。

【顶层文字层】

  • 居中或左下: 一句巨型金句 (5-7vw, 衬线或粗 sans), 字体: Source Serif Pro / Inter Tight / Manrope Black。
  • 文字色用 paper white #fafaf8 或 ink, 取决于背景明暗; 加 mix-blend-mode: difference 让它在任何流体颜色上都可读。
  • 副标 (小 sans, opacity 0.7) 一行。
  • 底部可选 CTA chip 或 hairline + 元数据 row。

【调色 — 4 选 1, 不要彩虹】

  • 🌅 Solar Peach — #ffb18a + #f78b4c + #d97757, 暖橙桃。
  • 🌊 Ocean Aqua — #5ac8fa + #0a84ff + #1e3a8a, 海蓝。
  • 🌌 Aurora Violet — #a78bfa + #7c5cff + #1e1b4b, 极光紫。
  • 🌿 Forest Mint — #86efac + #34d399 + #065f46, 苔森林。

【设计细节】

  • 严禁: 多色彩虹 (>4 个色相)、PowerPoint 渐变、霓虹荧光叠加。
  • 字体: 中文用 Noto Serif SC (display) / Noto Sans SC (副标)。
  • 严禁外链图片; 全部 CSS + SVG + 可选 canvas。
  • 必须用用户提供的金句 / 标题; 如果用户输入是数据 → 提炼一句 ≤ 18 字的金句。
  • 单文件 HTML, 可被 prefers-reduced-motion 关动效。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Create a moving poster for brand statements, vision messages, or presentation openings. Red rules, oversized tilted type, and a three-line headline appear in sequence, using a paper-white background and styling inspired by 1970s European editorial posters.

  • Opening a presentation like a magazine cover
  • Presenting a brand manifesto or vision
  • Introducing an editorial or cultural topic
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create an animated HTML section divider with a large chapter number and navigation showing the section structure. An orange card slides across a dark gradient background, followed by a rising title that introduces the next topic.

  • Separating chapters or sections
  • Creating a launch announcement title card
  • Introducing a topic with section navigation
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create a restrained animated HTML title scene around a brand or theme word. Thin letters appear in sequence, while generous whitespace, warm gold lines, corner marks, and softly pulsing indicators frame the message.

  • Introducing a brand word
  • Creating a restrained title card
  • Presenting a theme with generous whitespace
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create animated brand or event titles with blue and dark panels sliding in from opposite sides. Staggered headlines, an outlined word, and a short handwritten phrase with a drawn underline give the opening a retro-modern feel.

  • Introducing a brand title with animated split panels
  • Creating an event opening title
  • Revealing an idea with handwritten accents
nexu-io/html-video4.7KUpdated Jun 22, 2026

Turn CSV, JSON, or a written conclusion into a newspaper-style chart for video clips or social posts. Produce a single HTML file with line, bar, or range-band charts, clear headlines, source notes, and staggered animation.

  • Showing data trends in a video clip
  • Creating a chart card for social media
  • Visualizing CSV or JSON data
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create animated bar charts for weekly metrics or KPIs using real data. Bars grow from zero while their numbers count up in sync, with layouts that adapt to widescreen, vertical, and square video formats.

  • Presenting weekly metrics in a video
  • Animating KPI comparisons
  • Adding a data segment to an existing video
nexu-io/html-video4.7KUpdated Jun 22, 2026

See all skills by nexu-io

Report a problem with this skill