CSS3 column-rule-style attribute, columnrulestyle

Source: Internet
Author: User

CSS3 column-rule-style attribute, columnrulestyle

The CSS column-rule-style attribute is used to specify the style of the delimiter set between columns through the column rule attribute in a multi-column layout.column-ruleA vertical separator line between a column and a column. You can use the column-rule-width attribute to set the width of the separator line. Use the column-rule-color attribute to set the color of the separator line. Usecolumn-rule-styleProperty to set the line style of the separator.

. Browser support

 

. Syntax column-rule-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset. Parameter
  • None: do not display the separation line between columns. The configured separator width and color attributes are ignored.
  • Hidden: do not display the separation line between columns. The configured separator width and color attributes are ignored.
  • Dotted: the rectangle with rounded corners is displayed as the separation line between columns. The radius of the rounded corner is equal to half the width of the separator line.
  • Dashed: The separation line between columns is displayed as a dotted line consisting of a right rectangle.
  • Solid: The separation line between columns is displayed as a straight line.
  • Double: The separation line between columns is displayed as two straight lines, and there is some gap between the two lines. The sum of the width and gap width of the two straight lines is equal to the width specified by the column-rule-width attribute.
  • Groove: The separation line between columns is displayed as an inner embossed effect.
  • Ridge: The separation lines between columns are displayed as convex relief.
  • Inset: The separation line between columns is displayed as an ininclined line.
  • Outset: the separation line between columns is displayed as an external slope.

  column-rule-styleThe initial attribute value isnone.

 

. Application Scope

  column-rule-styleAttributes can be applied to all elements with multiple columns.

 

Apply in an elementcolumn-rule-styleThe Property Code is as follows:

.columns {    columns: 12em;    column-rule-width: 5px;     column-rule-style: solid;    column-rule-color: #0099CC;}                             

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.