File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 11---
22title : <dimension>
33slug : Web/CSS/dimension
4+ l10n :
5+ sourceCommit : 66944f622b6b51bc9c24bebbbea242138d910600
46---
57
68{{CSSRef}}
@@ -17,7 +19,7 @@ CSS は `<dimension>` を使用して、長さ ({{CSSxRef("<length>")}})
1719
1820### 有効な dimension
1921
20- ``` css example-good
22+ ``` plain example-good
212312px 12 ピクセル
22241rem 1rem
23251.2pt 1.2 ポイント
@@ -29,7 +31,7 @@ CSS は `<dimension>` を使用して、長さ ({{CSSxRef("<length>")}})
2931
3032### 無効な dimension
3133
32- ``` css example-bad
34+ ``` plain example-bad
333512 px 単位は数値の直後に来る必要がある。
343612"px" 単位は識別子であり、引用符で囲まない。
35373sec 秒の単位は "s" であり "sec" ではない。
Original file line number Diff line number Diff line change 11---
22title : <display-box>
33slug : Web/CSS/display-box
4+ l10n :
5+ sourceCommit : 66944f622b6b51bc9c24bebbbea242138d910600
46---
57
68{{CSSRef}}
@@ -25,9 +27,13 @@ slug: Web/CSS/display-box
2527
2628多くのブラウザーの現在の実装では、[ アクセシビリティツリー] ( /ja/docs/Learn/Accessibility/What_is_accessibility#accessibility_apis ) から ` display ` の値が ` contents ` である要素を削除します。これにより、その要素は — また、一部の版のブラウザーではその子孫要素も — 読み上げ技術で読み上げられなくなります。これは [ CSSWG 仕様書] ( https://drafts.csswg.org/css-display/#the-display-properties ) によれば、正しくない動作です。
2729
28- - [ More accessible markup with display: contents | Hidde de Vries] ( https://hiddedevries.nl/en/ blog/2018-04-21- more-accessible-markup-with-display-contents )
30+ - [ More accessible markup with display: contents | Hidde de Vries] ( https://hidde. blog/more-accessible-markup-with-display-contents/ )
2931- [ Display: Contents Is Not a CSS Reset | Adrian Roselli] ( https://adrianroselli.com/2018/05/display-contents-is-not-a-css-reset.html )
3032
33+ ## 形式文法
34+
35+ {{csssyntax}}
36+
3137## 例
3238
3339最初の例では、 secret クラスの段落に ` display: none ` を設定します。ボックスとその内容は表示されなくなります。
@@ -89,8 +95,6 @@ p.secret {
8995
9096## ブラウザーの互換性
9197
92- ### contents の対応
93-
9498{{Compat}}
9599
96100## 関連情報
@@ -104,4 +108,4 @@ p.secret {
104108 - {{CSSxRef("< ; display-legacy> ; ")}}
105109
106110- [ Display: Contents Is Not a CSS Reset | Adrian Roselli] ( https://adrianroselli.com/2018/05/display-contents-is-not-a-css-reset.html )
107- - [ More accessible markup with display: contents — hiddedevries.nl] ( https://hiddedevries.nl/en/ blog/2018-04-21- more-accessible-markup-with-display-contents )
111+ - [ More accessible markup with display: contents — hiddedevries.nl] ( https://hidde. blog/more-accessible-markup-with-display-contents/ )
Original file line number Diff line number Diff line change 11---
22title : <display-listitem>
33slug : Web/CSS/display-listitem
4+ l10n :
5+ sourceCommit : 66944f622b6b51bc9c24bebbbea242138d910600
46---
57
68{{CSSRef}}
@@ -15,7 +17,11 @@ slug: Web/CSS/display-listitem
1517
1618> ** メモ:** 二つの値の構文に対応しているブラウザーでは、内部表示種別がないと既定で ` flow ` になります。外部表示種別が指定されないと、基本ボックスは外部表示種別が ` block ` になります。
1719
18- <h2 id =" Examples " >例</h2 >
20+ ## 形式文法
21+
22+ {{csssyntax}}
23+
24+ ## 例
1925
2026### HTML
2127
@@ -42,8 +48,6 @@ slug: Web/CSS/display-listitem
4248
4349## ブラウザーの互換性
4450
45- ### ` list-item ` の対応
46-
4751{{Compat}}
4852
4953## 関連情報
You can’t perform that action at this time.
0 commit comments