column-rule-styleの評価
頻出度
(3.0)
重要度
(3.0)
総合評価
(3.0)
目次
1.column-rule-styleとは?
column-rule-styleプロパティは段組みの罫線のスタイルを指定する際に利用します。
値の指定方法は以下の通りです。
{ column-rule-style: 値; }
値の指定方法
- none
- hidden
- dotted
- dashed
- solid
- double
- groove
- ridge
- inset
- outset
2.column-rule-styleの使い方
それではcolumn-rule-styleの使い方をみていきましょう。
以下のようにすることで段組みの各段の間に表示する罫線のスタイルを破線で表示させます。
.text {
column-count: 3;
column-rule-style: dashed;
}
他にも値を設定できるのでいろいろと試してみることをオススメします!