レイアウトとCSS コア A2 · 正式仕様

Box Model

ボックスモデル

CSSボックスモデルは要素のサイズを説明します。各ボックスにはコンテンツ、パディング、ボーダー、マージンがあります。

仕組みを見る
そう呼ぶかもしれません Box ModelCSSボックスコンテンツボックス

仕組みを見る

元の作業例ボックスモデル

もう一つの例

border-boxを使うと、320pxのカードの幅の中に余白と枠線が含まれるようになるから、これ以上はみ出さなくなるよ。

主な部分

  1. 01Outer constraint
  2. 02Content and spacing model
  3. 03Computed size or reflow result

以下の場合に使用します

実際のサイズが設定した幅や高さと一致しない場合は、ボックスモデルを確認します。

以下の場合は使用しないでください

明確な理由のない数字でボックスモデルのミスを隠してはいけません。

コードで使用する名前

box-sizing: border-box

出荷前に

Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.

コピーできるリクエスト

Outcome:Complete the task with ボックスモデル (Box Model)。 User context:border-boxを使うと、320pxのカードの幅の中に余白と枠線が含まれるようになるから、これ以上はみ出さなくなるよ。 Design concept to apply:ボックスモデル (Box Model)。 Why it fits:実際のサイズが設定した幅や高さと一致しない場合は、ボックスモデルを確認します。 Do not use it when:明確な理由のない数字でボックスモデルのミスを隠してはいけません。 Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):きちんとした書類でも、まだドラフトやリリース候補、あるいは最終版かもしれません。ステータスや、ブラウザやプラットフォームの対応状況を確認しましょう。 Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.

このリクエストを確認する

Review how ボックスモデル (Box Model) is used now. Definition: CSSボックスモデルは要素のサイズを説明します。各ボックスにはコンテンツ、パディング、ボーダー、マージンがあります。 Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A2
この用語はどれくらい公式か?

正式仕様

公開されてバージョン管理された公式仕様が、リストされた技術範囲でこの用語を定めているよ。

きちんとした書類でも、まだドラフトやリリース候補、あるいは最終版かもしれません。ステータスや、ブラウザやプラットフォームの対応状況を確認しましょう。

範囲
ソースがカバーするもののみ:正式名、定義、セマンティクス、実装
ドキュメントステータス
草稿
チェックオン
2026-07-30

証拠の情報源と範囲

権威のある情報源 + 用語参照 · W3C CSS Working Group · 草稿 CSS Box Model Module Level 4 — Box model Box model 範囲: 正式名、定義、セマンティクス、実装 ここでの役割: 直接用語参照 ソースの範囲: 正式名, 定義, セマンティクス, 実装 権威のある情報源 · W3C CSS Working Group · 草稿 CSS Box Model Module Level 4 範囲: 正式名、定義、セマンティクス、実装 ここでの役割: 指定された範囲内の権威 ソースの範囲: 正式名, 定義, セマンティクス, 実装

自分でコピーする

ブラウザはこれをコピーできませんでした。下のリクエストを選択して自分でコピーしてください。