From ef0e5625abed731ab03ceac0379b507db4ab4fb9 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 23 Nov 2021 22:14:22 +0900 Subject: 特定の CSS 値の型に関する文書を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/display-listitem/index.html | 63 ---------------------------- files/ja/web/css/display-listitem/index.md | 63 ++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 files/ja/web/css/display-listitem/index.html create mode 100644 files/ja/web/css/display-listitem/index.md (limited to 'files/ja/web/css/display-listitem') diff --git a/files/ja/web/css/display-listitem/index.html b/files/ja/web/css/display-listitem/index.html deleted file mode 100644 index 0bcad68de9..0000000000 --- a/files/ja/web/css/display-listitem/index.html +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: -slug: Web/CSS/display-listitem -tags: - - CSS - - CSS データ型 - - CSS 表示 - - Reference - - list-item -translation_of: Web/CSS/display-listitem ---- -
{{CSSRef}}
- -

list-item キーワードは、要素に {{CSSxRef("list-style")}} プロパティで指定された内容 (例えば見出し記号) を含む ::marker 疑似要素と共に、自身の内容物のために指定された種類の基本的なボックスを生成します。

- -

構文

- -

list-item 単独の値を指定すると、要素はリストの項目のように動作します。これは {{CSSxRef("list-style-type")}} や {{CSSxRef("list-style-position")}} と共に使用することができます。

- -

list-item は {{CSSxRef("<display-outside>")}} キーワードのいずれかと、 {{CSSxRef("<display-inside>")}} の flow または flow-root キーワードと組み合わせることもできます。

- -
-

メモ: 二つの値の構文に対応しているブラウザーでは、内部表示種別がないと既定で flow になります。外部表示種別が指定されないと、基本ボックスは外部表示種別が block になります。

-
- -

- -

HTML

- -
<div class="fake-list">I will display as a list item</div>
-
- -

CSS

- -
.fake-list {
-  display: list-item;
-  list-style-position: inside;
-}
-
- -

結果

- -

{{EmbedLiveSample("Example", "100%", 150)}}

- -

ブラウザーの互換性

- -

list-item の対応

- -

{{Compat("css.properties.display.list-item", 10)}}

- -

関連情報

- - diff --git a/files/ja/web/css/display-listitem/index.md b/files/ja/web/css/display-listitem/index.md new file mode 100644 index 0000000000..0bcad68de9 --- /dev/null +++ b/files/ja/web/css/display-listitem/index.md @@ -0,0 +1,63 @@ +--- +title: +slug: Web/CSS/display-listitem +tags: + - CSS + - CSS データ型 + - CSS 表示 + - Reference + - list-item +translation_of: Web/CSS/display-listitem +--- +
{{CSSRef}}
+ +

list-item キーワードは、要素に {{CSSxRef("list-style")}} プロパティで指定された内容 (例えば見出し記号) を含む ::marker 疑似要素と共に、自身の内容物のために指定された種類の基本的なボックスを生成します。

+ +

構文

+ +

list-item 単独の値を指定すると、要素はリストの項目のように動作します。これは {{CSSxRef("list-style-type")}} や {{CSSxRef("list-style-position")}} と共に使用することができます。

+ +

list-item は {{CSSxRef("<display-outside>")}} キーワードのいずれかと、 {{CSSxRef("<display-inside>")}} の flow または flow-root キーワードと組み合わせることもできます。

+ +
+

メモ: 二つの値の構文に対応しているブラウザーでは、内部表示種別がないと既定で flow になります。外部表示種別が指定されないと、基本ボックスは外部表示種別が block になります。

+
+ +

+ +

HTML

+ +
<div class="fake-list">I will display as a list item</div>
+
+ +

CSS

+ +
.fake-list {
+  display: list-item;
+  list-style-position: inside;
+}
+
+ +

結果

+ +

{{EmbedLiveSample("Example", "100%", 150)}}

+ +

ブラウザーの互換性

+ +

list-item の対応

+ +

{{Compat("css.properties.display.list-item", 10)}}

+ +

関連情報

+ +
    +
  • {{CSSxRef("display")}} +
      +
    • {{CSSxRef("<display-outside>")}}
    • +
    • {{CSSxRef("<display-inside>")}}
    • +
    • {{CSSxRef("<display-internal>")}}
    • +
    • {{CSSxRef("<display-box>")}}
    • +
    • {{CSSxRef("<display-legacy>")}}
    • +
    +
  • +
-- cgit v1.2.3-54-g00ecf