--- title: column-rule-width slug: Web/CSS/column-rule-width tags: - CSS - CSS Property - CSS プロパティ - CSS 段組みレイアウト - Reference - 段組み translation_of: Web/CSS/column-rule-width ---
column-rule-width は CSS のプロパティで、段組みレイアウトで段間に引かれる線の太さを設定します。
このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 https://github.com/mdn/interactive-examples をクローンしてプルリクエストを送信してください。
/* キーワード値 */ column-rule-width: thin; column-rule-width: medium; column-rule-width: thick; /* <length> 値 */ column-rule-width: 1px; column-rule-width: 2.5em; /* グローバル値 */ column-rule-width: inherit; column-rule-width: initial; column-rule-width: unset;
column-rule-width プロパティは単一の <'border-width'> の値で指定します。
<'border-width'>thin、 medium、 thick のキーワードのいずれかです。<p>This is a bunch of text split into three columns. The `column-rule-width` property is used to change the width of the line that is drawn between columns. Don't you think that's wonderful?</p>
p {
column-count: 3;
column-rule-style: solid;
column-rule-width: thick;
}
{{EmbedLiveSample("Example")}}
| 仕様書 | 状態 | 備考 |
|---|---|---|
| {{ SpecName('CSS3 Multicol', '#crw', 'column-rule-width') }} | {{ Spec2('CSS3 Multicol') }} | 初回定義 |
{{cssinfo}}
このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 https://github.com/mdn/browser-compat-data をチェックアウトしてプルリクエストを送信してください。
{{Compat("css.properties.column-rule-width")}}