跳到正文
FunCoding

xyz-fade-small

官方

Fade Small — a composable AnimXYZ entrance via the xyz="fade small-50%" attribute. Declarative: mix fade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.

Star
1,145
许可证
Apache-2.0
最近提交
2026年11月17日

recipes/animxyz/xyz-fade-small/SKILL.md

在 GitHub 上查看

XYZ · Fade Small

Fade Small — composable entrance from AnimXYZ (MIT). Part of motion-anything.

When to use it

  • Declarative entrance mixing fade/move/scale/rotate via xyz="..." — no keyframes to write.

When NOT to use it (restraint)

  • Shipping ~100KB core CSS for a single effect; overusing on many elements.

How to apply

  1. Include @animxyz/core CSS. 2. Set xyz="fade small-50%" on the element. 3. Toggle class xyz-in / xyz-out.

Accessibility & license

  • prefers-reduced-motion: no autoplay. MIT.

相似的 Skill

perfect-docs

MAmattpocock/skills337k近 7 天新增 4,978 个 star

精选

domain-modeling

编写词汇表,记录架构决策,澄清术语歧义。

MAmattpocock/skills337k近 7 天新增 4,978 个 star

writing-beats

MAmattpocock/skills337k近 7 天新增 4,978 个 star

writing-shape

MAmattpocock/skills337k近 7 天新增 4,978 个 star

writing-fragments

MAmattpocock/skills337k近 7 天新增 4,978 个 star

writing-plans

OBobra/superpowers331k近 7 天新增 4,772 个 star