CSS Border Radius
CSSボーダー半径
CSSのborder-radiusは、水平および垂直半径を使用してボックスの角を四分円にします。これはペインティングとクリッピングを変更しますが、ボックスのレイアウトサイズには影響せず、数学的なスクワイルを作るわけではありません。
もう一つの例
40ピクセルのコントロールは12ピクセルの半径を使用し、200%のズームでチェックされます。ターゲットサイズ、可視のフォーカスアウトライン、正しいクリッピング、影、およびすべての状態で同じデザイントークンを維持します。9999ピクセルの半径はスクワイアではなく、ピル形状を作ります。
主な部分
- 01水平方向半径
- 02垂直半径
- 03ペイントとクリッピングの境界
以下の場合に使用します
クリッピング、フォーカス、影、ターゲットサイズをテストする際に、明確な半径を持つCSSの楕円コーナーにはこの用語を使用します。
以下の場合は使用しないでください
ボーダー半径を漠然としたスタイル用語として使用しないでください。すべての大きな半径をスクワクルと呼ばないでください。クリッピングは使用可能なターゲットを縮小してはいけません。
コードで使用する名前
border-radius: horizontal / vertical radii 出荷前に
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 CSSボーダー半径 (CSS Border Radius)。 User context:40ピクセルのコントロールは12ピクセルの半径を使用し、200%のズームでチェックされます。ターゲットサイズ、可視のフォーカスアウトライン、正しいクリッピング、影、およびすべての状態で同じデザイントークンを維持します。9999ピクセルの半径はスクワイアではなく、ピル形状を作ります。 Design concept to apply:CSSボーダー半径 (CSS Border Radius)。 Why it fits:クリッピング、フォーカス、影、ターゲットサイズをテストする際に、明確な半径を持つCSSの楕円コーナーにはこの用語を使用します。 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 CSSボーダー半径 (CSS Border Radius) is used now. Definition: CSSのborder-radiusは、水平および垂直半径を使用してボックスの角を四分円にします。これはペインティングとクリッピングを変更しますが、ボックスのレイアウトサイズには影響せず、数学的なスクワイルを作るわけではありません。 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.