column-rule-style:none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
相关属性:column-rule-width , column-rule-color
定义每栏之间边框的颜色。
| 引擎类型 | Gecko | Webkit | Presto |
|---|---|---|---|
| column-rule-style | -moz-column-rule-style | -webkit-column-rule-style |
| 类型 | Internet Explorer |
Firefox |
Chrome |
Opera |
Safari |
|---|---|---|---|---|---|
| 版本 | (×)IE6 | (×)Firefox 2.0 | (√)Chrome 1.0.x | (×)Opera 9.63 | (√)Safari 3.1 |
| (×)IE7 | (×)Firefox 3.0 | (√)Chrome 2.0.x | (√)Safari 4 | ||
| (x)IE8 | (√)Firefox 3.5 |
例子里
-webkit-column-count:2;的意思是一共两列;
-webkit-column-gap:200px;的意思是每列之间的间距是200px;
-webkit-column-rule-width:100px;的意思是边框的宽度为100px;
-webkit-column-rule-style:solid;的意思是边框的样式是实线边框;
-webkit-column-rule-color:#10427A;的意思是边框的颜色值是#10427A。