[Template: Fluid Background Hero] [Intent] Can be used as a video intro frame, a SaaS landing top hero, or a poster background image. WebGL fluid feel, but drawn with CSS / canvas fallback to ensure the single file can be opened by double-clicking. Inspired by hyperframes vfx-liquid-background.
[Canvas] 1920×1080 (landscape) or 1080×1920 (portrait), choose one. Background fills the entire area.
[Fluid Background — 3 implementations, choose according to user preference]
- CSS multi-layer radial-gradient offset breathing (most stable, default recommendation):
- 3-5 large ellipses
radial-gradient(...), colors taken from the palette. - Each ellipse gets
@keyframestranslate + scale + hue-rotate, period 8-14s, staggered; overlay the entire frame withmix-blend-mode: screenoroverlay。 - add 1 layer on top of
backdrop-filter: blur(80px)to make the edges blurrier.
- 3-5 large ellipses
- Canvas + simple perlin noise (intermediate):
- 80 lines of inline JS, using
requestAnimationFrameto draw metaballs or a simplex noise field. - Enable when performance allows,
prefers-reduced-motionfall back to a static screenshot when
- 80 lines of inline JS, using
- WebGL fragment shader (advanced, use with caution):
- Use jsdelivr CDN to import
reglor inline plain WebGL. - Write domain-warp noise in the shader; a single quad, one uniform
u_time。
- Use jsdelivr CDN to import
[Top Text Layer]
- Centered or bottom-left: one giant punchline (5-7vw, serif or bold sans), font:
Source Serif Pro/Inter Tight/Manrope Black。 - Text color uses paper white
#fafaf8or ink, depending on the background's lightness/darkness; addmix-blend-mode: differenceto make it readable on any fluid color. - Subtitle (small sans, opacity 0.7) in one line.
- Optional CTA chip or hairline + metadata row at the bottom.
[Color Palette — choose 1 of 4, no rainbow]
- 🌅 Solar Peach —
#ffb18a+#f78b4c+#d97757, warm orange peach. - 🌊 Ocean Aqua —
#5ac8fa+#0a84ff+#1e3a8a, sea blue. - 🌌 Aurora Violet —
#a78bfa+#7c5cff+#1e1b4b, aurora purple. - 🌿 Forest Mint —
#86efac+#34d399+#065f46, moss forest.
[Design Details]
- Strictly forbidden: multicolor rainbow (>4 hues), PowerPoint gradients, neon fluorescent overlays.
- Fonts: for Chinese use
Noto Serif SC(display) /Noto Sans SC(subtitle). - Strictly forbidden to use external linked images; all CSS + SVG + optional canvas.
- Must use the user-provided punchline / title; if the user input is data → distill a punchline of ≤ 18 characters.
- Single-file HTML, can be
prefers-reduced-motionturn off animations.