From f137d458d71406274a4a0601b8590d48c1e22d6c Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 29 Dec 2021 23:02:06 +0900 Subject: 2021/08/13 時点の英語版に同期 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/column-rule-color/index.md | 101 +++++++++++++--------------- 1 file changed, 47 insertions(+), 54 deletions(-) (limited to 'files') diff --git a/files/ja/web/css/column-rule-color/index.md b/files/ja/web/css/column-rule-color/index.md index 10656f4c94..8048dc27ae 100644 --- a/files/ja/web/css/column-rule-color/index.md +++ b/files/ja/web/css/column-rule-color/index.md @@ -3,24 +3,28 @@ title: column-rule-color slug: Web/CSS/column-rule-color tags: - CSS - - CSS プロパティ - CSS 段組みレイアウト + - CSS プロパティ - HTML 色 - - Reference - - 段組み + - リファレンス + - スタイル + - HTML のスタイル付け + - column-rule-color + - columns + - recipe:css-property +browser-compat: css.properties.column-rule-color translation_of: Web/CSS/column-rule-color --- -
{{CSSRef}}
+{{CSSRef}} -

column-rule-colorCSS のプロパティで、段組みレイアウトで段間に引かれる線の色を設定します。

+**`column-rule-color`** は [CSS](/ja/docs/Web/CSS) のプロパティで、段組みレイアウトで段間に引かれる線(段間罫)の色を設定します。 -
{{EmbedInteractiveExample("pages/css/column-rule-color.html")}}
+{{EmbedInteractiveExample("pages/css/column-rule-color.html")}} - +## 構文 -

構文

- -
/* <color> 値 */
+```css
+/*  値 */
 column-rule-color: red;
 column-rule-color: rgb(192, 56, 78);
 column-rule-color: transparent;
@@ -29,73 +33,62 @@ column-rule-color: hsla(0, 100%, 50%, 0.6);
 /* グローバル値 */
 column-rule-color: inherit;
 column-rule-color: initial;
+column-rule-color: revert;
 column-rule-color: unset;
-
+``` + +`column-rule-color` プロパティは、単一の `` 値で指定します。 -

column-rule-color プロパティは、単一の <color> 値で指定します。

+### 値 -

+- {{cssxref("<color>")}} + - : 段を分割する段間罫の色です。 -
-
{{cssxref("<color>")}}
-
段を分割する段間罫の色です。
-
+## 公式定義 -

形式文法

+{{cssinfo}} + +## 形式文法 {{csssyntax}} -

+## 例 + +### 青い段間罫を設定 -

HTML

+#### HTML -
<p>This is a bunch of text split into three columns.
+```html
+

This is a bunch of text split into three columns. The `column-rule-color` property is used to change the color of the line that is drawn between columns. - Don't you think that's wonderful?</p>

+ Don't you think that's wonderful?

+``` -

CSS

+#### CSS -
p {
+```css
+p {
   column-count: 3;
   column-rule-style: solid;
   column-rule-color: blue;
 }
-
- -

結果

+``` -

{{EmbedLiveSample("Example")}}

+#### 結果 -

仕様書

+{{EmbedLiveSample("Setting_a_blue_column_rule")}} - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('CSS3 Multicol', '#crc', 'column-rule-color')}}{{Spec2('CSS3 Multicol')}}初回定義
+## 仕様書 -

{{cssinfo}}

+{{Specifications}} -

ブラウザーの対応

+## ブラウザーの互換性 -

{{Compat("css.properties.column-rule-color")}}

+{{Compat}} -

関連情報

+## 関連情報 - +- {{cssxref("<color>")}} データ型 +- 色に関する他のプロパティ: {{cssxref("color")}}, {{cssxref("background-color")}}, {{cssxref("border-color")}}, {{cssxref("outline-color")}}, {{cssxref("text-decoration-color")}}, {{cssxref("text-emphasis-color")}}, {{cssxref("text-shadow")}}, {{cssxref("caret-color")}} +- [CSS を使った HTML の要素への色の適用](/ja/docs/Web/HTML/Applying_color) -- cgit v1.2.3-54-g00ecf