nested-container-frames

v2026.09.24

Create a container-in-container layout system using nested frames. Use an outer centered container with visible vertical boundary lines and corner markers. Inside, place inner containers inset from the edges, each with its own background and rounded frame. Technique: outer container defines global bounds, inner containers use padding to create inset spacing, layered frames (border + background) to separate levels, and consistent spacing between outer frame and inner blocks.

GitHub
安装命令
npx skhub add mengto/nested-container-frames
Markdown
SKILL.md

Nested Container Frames Skill

Use When

  • A layout needs a container-in-container system with visible outer bounds, inset inner frames, and layered page structure.

Workflow

  1. Define an outer centered container that controls the global page width.
  2. Add visible vertical boundary lines and small corner markers to establish the frame.
  3. Place inner containers inset from the outer edges using consistent padding.
  4. Give each inner level its own background, border, radius, and spacing rhythm.
  5. Use the frame hierarchy to separate hero, feature, proof, and CTA modules without adding heavy cards.

Guardrails

  • Do not nest cards inside cards until the layout feels boxed in.
  • Do not let frame lines overpower content readability.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

agent-skills/web-design/nested-container-frames

默认分支

main

最新提交

a965851

Tree SHA

51ae735