·stacked-cards
</>

stacked-cards

使用正确的 z 索引排序和悬停升降动画创建水平扇形/级联卡堆。在构建相册浏览器、卡片扇、堆叠预览或任何重叠卡片集合时使用。

4安装·1热度·@ainergiz

安装

$npx skills add https://github.com/ainergiz/design-inspirations --skill stacked-cards

如何安装 stacked-cards

通过命令行快速安装 stacked-cards AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/ainergiz/design-inspirations --skill stacked-cards
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:ainergiz/design-inspirations。

SKILL.md

查看原文

Build horizontally cascading card stacks where cards overlap in order, with hover animations that lift cards in place without breaking the cascade.

Why? DOM order determines stacking when z-index values are the same within a parent. By rendering in reverse, the first logical card is the last DOM element, appearing on top.

Why? When you change z-index on hover, the card jumps to the front, breaking the visual illusion of a physical stack. Real cards lift UP in place while staying behind cards in front.

使用正确的 z 索引排序和悬停升降动画创建水平扇形/级联卡堆。在构建相册浏览器、卡片扇、堆叠预览或任何重叠卡片集合时使用。 来源:ainergiz/design-inspirations。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ainergiz/design-inspirations --skill stacked-cards
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from ainergiz/design-inspirations

快速解答

什么是 stacked-cards?

使用正确的 z 索引排序和悬停升降动画创建水平扇形/级联卡堆。在构建相册浏览器、卡片扇、堆叠预览或任何重叠卡片集合时使用。 来源:ainergiz/design-inspirations。

如何安装 stacked-cards?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ainergiz/design-inspirations --skill stacked-cards 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/ainergiz/design-inspirations

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25