本文へスキップ
Skillpedia
インターフェース(UI/UX)7.2k · #13452

nested-container-frames

できること

このスキルは、見える外側の境界と、内側の枠付きセクションを持つページ構造を作る方法を説明します。重いカードのスタイルを使わず、明確なレイアウトが欲しいデザイナーやフロントエンド開発者向けです。

使う場面

  • ✓ページに、ヒーロー、機能、証拠、行動喚起のための明確なセクションが必要なとき。
  • ✓ページに構造を与える、見える枠線と角の印が欲しいとき。
  • ✓ページのカードが箱に閉じ込められすぎて、より軽いレイアウトが必要なとき。

スキルのリンク

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/nested-container-frames/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/nested-container-frames/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のランディングページに、ヒーローと機能のための見える枠線と内側のセクションを、箱を増やしすぎずに付けてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ページの幅を制御する中央寄せの外側のコンテナを設定し、境界線と小さな角の印を加えます。そのなかに、独自の背景と境界線を持つ内側のコンテナを置きます。間隔は全体で一貫させます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

  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.
よくある質問

このレイアウトの主なリスクは何ですか?

カードの中にカードを入れると、箱に閉じ込められた感じになるので、そのような入れ子を避けるようスキルは警告しています。

枠線は読みやすさを損ないますか?

損なうことがあるので、枠線は内容を圧倒すべきではないとスキルは述べています。

特別なフレームワークが必要ですか?

一般的なフロントエンドの設定で機能する、一般的な言葉でレイアウトを説明しています。

詳細

作者による元の説明

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

人気

GitHubのスター
7.2k
ランキング
#13452
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル