Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.9 KB
Raw Blame

CSS Alpha Masking Demo Prompts

Minimal prompt

Use $css-alpha-masking to create a polished standalone HTML example that clearly demonstrates the skill.

Recreate the demo

Use $css-alpha-masking to build a responsive reference demo for this capability:

Apply CSS alpha masking with linear-gradient for horizontal or vertical edge fades (mask-image and -webkit-mask-image). Use when asked for alpha masks, fade edges, or CSS mask gradients.

Direction

Compare the treatment across a hero surface, compact control, and detail card.

Use an art-directed composition with one clear focal point, restrained supporting copy, and enough surrounding interface to show how the technique behaves in a real product or landing page.

Canonical example

  • Show the treatment on a large Depth without noise surface, one compact metric card, and one control.
  • Use the same edge, shadow, blur, or masking logic consistently across all three scales.

Deliverable

  • Create demo/index.html as a standalone document.
  • Keep CSS and JavaScript inline.
  • Put any required images, fonts, models, textures, or vendor files in demo/assets/.
  • Do not add a framework, package manager, build step, or node_modules.
  • Add controls only when they help inspect or replay the technique.

Acceptance checks

  • Keep the demo responsive from 390px through 1440px.
  • Use semantic HTML, visible focus states, and reduced-motion handling.
  • Keep all HTML, CSS, and JavaScript inside demo/index.html.
  • Use only relative local asset paths.
  • Preserve readable contrast at the softest and strongest treatment levels.
  • Avoid clipping focus rings or interactive content.

Remix prompt

Use $css-alpha-masking and keep the same implementation contract, but change the subject, copy, palette, and content hierarchy. Preserve the core technique, accessibility behavior, responsive rules, and performance constraints demonstrated by the reference.