column-rule-style
Quick Summary for column-rule-style
The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout.
Code Usage for column-rule-style
/* <'border-style'> values */ column-rule-style: none; column-rule-style: hidden; column-rule-style: dotted; column-rule-style: dashed; column-rule-style: solid; column-rule-style: double; column-rule-style: groove; column-rule-style: ridge; column-rule-style: inset; column-rule-style: outset;  /* Global values */ column-rule-style: inherit; column-rule-style: initial; column-rule-style: revert; column-rule-style: unset; 
More Details for column-rule-style

column-rule-style

The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout.

Syntax

/* <'border-style'> values */ column-rule-style: none; column-rule-style: hidden; column-rule-style: dotted; column-rule-style: dashed; column-rule-style: solid; column-rule-style: double; column-rule-style: groove; column-rule-style: ridge; column-rule-style: inset; column-rule-style: outset;  /* Global values */ column-rule-style: inherit; column-rule-style: initial; column-rule-style: revert; column-rule-style: unset; 

The column-rule-style property is specified as a single <'border-style'> value.

Values

<'border-style'>

Is a keyword defined by border-style describing the style of the rule. The styling must be interpreted as in the collapsing border model.

Formal definition

Initial valuenone
Applies tomulticol elements
Inheritedno
Computed valueas specified
Animation typediscrete

Formal syntax

<'border-style'>

Examples

Setting a dashed column rule

HTML
<p>This is a bunch of text split into three columns.    The `column-rule-style` property is used to change    the style of the line that is drawn between columns.    Don't you think that's wonderful?</p> 
CSS
p {   column-count: 3;   column-rule-style: dashed; } 
Result

Specifications

Specification
CSS Multi-column Layout Module Level 2 # crs

See also

Multiple-column Layout column-rule column-rule-width column-rule-color

Last modified: Aug 12, 2021, by MDN contributors

Select your preferred language English (US)DeutschFrançais日本語Русский中文 (简体) Change language

No Items Found.

Add Comment
Type in a Nick Name here
 
Related Search Terms
Other Categories in CSS
css
Search CSS
Search CSS by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
A person who never made a mistake never tried anything new.
Albert Einstein
Random CSS Property

mask-border-width

The mask-border-width CSS property sets the width of an element's mask border.
mask-border-width css reference