column-rule-color

  • Revision slug: CSS/column-rule-color
  • Revision title: column-rule-color
  • Revision id: 356601
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment highlight ...etc.

Revision Content

{{CSSRef}}

Summary

The column-rule-color CSS property lets you set the color of the rule drawn between columns in multi-column layouts.

  • {{Xref_cssinitial}} {{cssinitial("column-rule-color")}}
  • Applies to all elements
  • {{Xref_cssinherited}} no
  • Media {{Xref_cssvisual}}
  • {{Xref_csscomputed}} computed like the one of the {{cssxref("color")}} property

Syntax

Formal syntax: {{csssyntax("column-rule-color")}}
column-rule-color: red
column-rule-color: rgb(192, 56, 78)
column-rule-color: transparent
column-rule-color: hsla(0, 100%, 50%, 0.6)

column-rule-color: inherit

Values

<color>
Is a {{Xref_csscolorvalue}} value representing the color of the rule separating columns.

Example

#header { column-rule-color: blue; }

Specifications

Specification Status Comment
{{SpecName('CSS3 Multicol', '#crc', 'column-rule-color')}} {{Spec2('CSS3 Multicol')}}  

Browser compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{CompatVersionUnknown}}{{property_prefix('-webkit')}} 3.5 (1.9.1){{property_prefix('-moz')}} 10 11.1 3.0 (522){{property_prefix('-webkit')}}
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatUnknown}} {{CompatUnknown}} {{CompatVersionUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}}

See also

Revision Source

<div>{{CSSRef}}</div>
<h2 id="Summary">Summary</h2>
<p>The <code>column-rule-color</code> CSS property lets you set the color of the rule drawn between columns in multi-column layouts.</p>
<ul class="cssprop">
  <li><dfn>{{Xref_cssinitial}}</dfn> {{cssinitial("column-rule-color")}}</li>
  <li><dfn>Applies to</dfn> all elements</li>
  <li><dfn>{{Xref_cssinherited}}</dfn> no</li>
  <li><dfn>Media</dfn> {{Xref_cssvisual}}</li>
  <li><dfn>{{Xref_csscomputed}}</dfn> computed like the one of the {{cssxref("color")}} property</li>
</ul>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="twopartsyntaxbox">
<a href="/en-US/docs/CSS/Value_definition_syntax" title="CSS/Value_definition_syntax">Formal syntax</a>: {{csssyntax("column-rule-color")}}
</pre>
<pre>
column-rule-color: red
column-rule-color: rgb(192, 56, 78)
column-rule-color: transparent
column-rule-color: hsla(0, 100%, 50%, 0.6)

column-rule-color: inherit
</pre>
<h3 id="Values" name="Values">Values</h3>
<dl>
  <dt>&lt;color&gt;</dt>
  <dd>Is a {{Xref_csscolorvalue}} value representing the color of the rule separating columns.</dd>
</dl>
<h2 id="Examples" name="Examples">Example</h2>
<pre class="brush:css">
#header { column-rule-color: blue; }
</pre>

<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
  <thead>
    <tr>
      <th scope="col">Specification</th>
      <th scope="col">Status</th>
      <th scope="col">Comment</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>{{SpecName('CSS3 Multicol', '#crc', 'column-rule-color')}}</td>
      <td>{{Spec2('CSS3 Multicol')}}</td>
      <td>&nbsp;</td>
    </tr>
  </tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<div>{{CompatibilityTable}}</div>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari (WebKit)</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{CompatVersionUnknown}}{{property_prefix('-webkit')}}</td>
        <td>3.5 (1.9.1){{property_prefix('-moz')}}</td>
        <td>10</td>
        <td>11.1</td>
        <td>3.0 (522){{property_prefix('-webkit')}}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Chrome for Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Mobile</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatVersionUnknown}}</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatUnknown}}</td>
        <td>{{CompatUnknown}}</td>
      </tr>
    </tbody>
  </table>
  
</div>
<h2 id="See_also">See also</h2>
<ul>
  <li>The <a href="/en-US/docs/CSS/CSS3_Columns">column-related</a> CSS properties: {{CSS_Reference:Columns}}</li>
</ul>
Revert to this revision