From ef11c972fb144ac7a9cbe756769f49e36a3f48ea Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 16 Dec 2021 23:59:46 +0900 Subject: @counter-style 以下を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/@counter-style/prefix/index.html | 94 ----------------------- 1 file changed, 94 deletions(-) delete mode 100644 files/ja/web/css/@counter-style/prefix/index.html (limited to 'files/ja/web/css/@counter-style/prefix/index.html') diff --git a/files/ja/web/css/@counter-style/prefix/index.html b/files/ja/web/css/@counter-style/prefix/index.html deleted file mode 100644 index 8a846a92ff..0000000000 --- a/files/ja/web/css/@counter-style/prefix/index.html +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: prefix -slug: Web/CSS/@counter-style/prefix -tags: - - '@counter-style' - - CSS - - CSS カウンタースタイル - - CSS 記述子 - - リファレンス -translation_of: Web/CSS/@counter-style/prefix ---- -
{{CSSRef}}
- -

{{cssxref('@counter-style')}} 規則の prefix 記述子は、マーカーに先立って表示される内容を指定します。指定されていない場合、既定値は "" (空文字列) になります。

- -

{{cssinfo}}

- -

構文

- -
/* <symbol> 値 */
-prefix: "»";
-prefix: "Page ";
-prefix: url(bullet.png);
-
- -

- -
-
<symbol>
-
マーカーに先立って表示される <symbol> を指定します。 {{cssxref("<string>")}}, {{cssxref("<image>")}}, {{cssxref("<custom-ident>")}} の何れかです。
-
- -

形式文法

- -{{csssyntax}} - -

- -

HTML

- -
<ul class="index">
-  <li>The Boy Who Lived</li>
-  <li>The Vanishing Glass</li>
-  <li>The Letters from No One</li>
-  <li>The Keeper of the Keys</li>
-  <li>Diagon Alley</li>
-</ul>
- -

CSS

- -
@counter-style chapters {
-  system: numeric;
-  symbols: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
-  prefix: 'Chapter ';
-}
-
-.index {
-  list-style: chapters;
-  padding-left: 15ch;
-}
- -

結果

- -

{{ EmbedLiveSample('Example') }}

- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('CSS3 Counter Styles', '#descdef-counter-style-prefix', 'prefix')}}{{Spec2('CSS3 Counter Styles')}}初回定義
- -

ブラウザーの対応

- -

{{Compat("css.at-rules.counter-style.prefix")}}

- -

関連情報

- - -- cgit v1.2.3-54-g00ecf