Skill Press

No. 648 · nested-container-frames

Nested Container Frames Skill

A field guide from Meng To

Meng To

When to use it

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.

Rank
No. 648 of 971
Installs
Not listed yet
Runs in
Codex, Claude, Cursor
Length
120 words · 1 min
Files
2
License
MIT

Get this skill

Download the skill folder (.zip, 1 KB) ↓ · SKILL.md only ↓

Publisher setup

Use the publisher’s setup guide for the tools and files used by this edition.

Open the publisher’s setup guide ↗

Contents

  1. Use When
  2. Workflow
  3. Guardrails

The skill, in full

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.

More in Design & Media

All Design & Media skills →

More from Meng To

From MengTo/Skills at 3ec2dc0, MIT. Install counts from skills.sh.