From 1dc9b23efceedddd0e3c46e494b18647f73b97bc Mon Sep 17 00:00:00 2001
From: Masahiro FUJIMOTO これは一括指定プロパティであり、一回の便利な宣言で個別の メモ: 他の一括指定プロパティと同様に、指定されなかった個別の値は初期値が設定されます (以前に個別指定プロパティを使用して設定された値を上書きする可能性があります)。 {{cssinfo}}
This is a bunch of text split into three columns.
Take note of how the `column-rule` property is used
to adjust the style, width, and color of the rule
that appears between the columns.
-</p>
-column-rule は一括指定を行う CSS のプロパティで、段組みレイアウトで段間に引かれる線の太さ、スタイル、色を設定します。column-rule-* プロパティ ({{Cssxref("column-rule-width")}}, {{Cssxref("column-rule-style")}}, {{Cssxref("column-rule-color")}}) を設定できます。構文
+## 構文
-column-rule: dotted;
+```css
+column-rule: dotted;
column-rule: solid 8px;
column-rule: solid blue;
column-rule: thick inset blue;
@@ -34,34 +33,33 @@ column-rule: inherit;
column-rule: initial;
column-rule: revert;
column-rule: unset;
-
+```
-column-rule プロパティは、以下に挙げる値のうち 1 ~ 3 個を任意の順序で指定します。値
-
-
+- `<'column-rule-width'>`
+ - : {{cssxref("<length>")}} または 3 つのキーワード、 `thin`、`medium`、`thick` のうちの 1 つです。詳しくは {{cssxref("border-width")}} を参照してください。
+- `<'column-rule-style'>`
+ - : 有効な値と詳細は {{cssxref("border-style")}} を参照してください。
+- `<'column-rule-color'>`
+ - : {{cssxref("<color>")}} 値です。
-<'column-rule-width'>thin、medium、thick のうちの 1 つです。詳しくは {{cssxref("border-width")}} を参照してください。<'column-rule-style'><'column-rule-color'>公式定義
+## 公式定義
-形式文法
+## 形式文法
{{csssyntax}}
-例
+## 例
-例 1
+### 例 1
-/* "medium dotted currentcolor" と同じ */
+```css
+/* "medium dotted currentcolor" と同じ */
p.foo { column-rule: dotted; }
/* "medium solid blue" と同じ */
@@ -71,47 +69,47 @@ p.bar { column-rule: solid blue; }
p.baz { column-rule: solid 8px; }
p.abc { column-rule: thick inset blue; }
-
+```
-例 2
+### 例 2
-HTML
+#### HTML
-<p class="content-box">
+```html
+
+
.content-box {
+```css
+.content-box {
padding: 0.3em;
background: #ff7;
column-count: 3;
column-rule: inset 2px #33f;
}
-
+```
-{{EmbedLiveSample('Example_2')}}
+{{EmbedLiveSample('Example_2')}} -{{Compat}}
+{{Compat}} -