nested-container-frames
What it does
This skill explains how to build a page structure with visible outer boundaries and inner framed sections. It is for designers and front end developers who want a clear layout without heavy card styling.
When to use it
- ✓When a page needs clear sections for its hero, features, proof, and call to action.
- ✓When you want visible frame lines and corner markers to give the page structure.
- ✓When cards on your page feel too boxed in and need a lighter layout.
Skill link
https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/nested-container-frames/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want my landing page to have visible frame lines and inset sections for the hero and features, without too many boxes.”
5 new skills a week. 1 minute to read.
How it works
The agent sets a centered outer container that controls the page width, adds boundary lines and small corner markers, then places inner containers with their own background and border inside it. Spacing stays consistent throughout.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- 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.
FAQ
What is the main risk with this layout?
The skill warns against nesting cards inside cards, which can make the layout feel boxed in.
Can the frame lines hurt readability?
They can, so the skill says they should not overpower the content.
Does it need a special framework?
The skill describes the layout in general terms that work in common front end setups.
Details
Original description by the author
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.
repo: MengTo/Skills
Popularity
- GitHub stars
- 7.2k
- Ranking position
- #13452
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
3d-cloth-material
7.2kHelps your agent build realistic woven fabric in Three.js, with thread weave, soft sheen, natural folds, hems and seams.
3d-falling-leaves
7.2kHelps your agent add realistic falling leaves to a 3D scene, with leaves that tumble, drift with the wind and recycle as the camera moves.
3d-four-seasons
7.2kHelps your agent add spring, summer, fall and winter looks to a 3D scene, changing foliage, light, sky and snow without rebuilding it.
3d-high-poly-models
7.2kHelps your agent build detailed 3D models with smooth shapes and believable edges, then prepare lighter versions that run well on the web.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.