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.
A layout needs a container-in-container system with visible outer bounds, inset inner frames, and layered page structure.
Workflow
Define an outer centered container that controls the global page width.
Add visible vertical boundary lines and small corner markers to establish the frame.
Place inner containers inset from the outer edges using consistent padding.
Give each inner level its own background, border, radius, and spacing rhythm.
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.
1---2name: nested-container-frames3description: 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.4---56# Nested Container Frames Skill78## Use When9- A layout needs a container-in-container system with visible outer bounds, inset inner frames, and layered page structure.1011## Workflow121. Define an outer centered container that controls the global page width.132. Add visible vertical boundary lines and small corner markers to establish the frame.143. Place inner containers inset from the outer edges using consistent padding.154. Give each inner level its own background, border, radius, and spacing rhythm.165. Use the frame hierarchy to separate hero, feature, proof, and CTA modules without adding heavy cards.1718## Guardrails19- Do not nest cards inside cards until the layout feels boxed in.20- Do not let frame lines overpower content readability.
Run npx skillmds@latest add nota-america/nested-container-frames in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
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. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
nota-america (@nota-america) published this skill. Their other Agent Skills are listed on their SkillMD profile.