aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/column-rule-color/index.html
blob: 93151d569bf504c8221b3ac1b4b575e0bc9db7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
title: column-rule-color
slug: Web/CSS/column-rule-color
tags:
  - мультиколоночная вёрстка
translation_of: Web/CSS/column-rule-color
---
<div>{{CSSRef}}</div>

<p><a href="/en-US/docs/Web/CSS">CSS </a>свойство<strong> <code>column-rule-color</code></strong> устанавливает цвет линии, расположенной между колонками при мультиколоночной вёрстке.</p>

<div>{{EmbedInteractiveExample("pages/css/column-rule-color.html")}}</div>



<h2 id="Syntax">Синтаксис</h2>

<pre class="brush:css no-line-numbers">/* Значения &lt;color&gt;  */
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;
column-rule-color: initial;
column-rule-color: unset;
</pre>

<p>Свойство <code>column-rule-color</code> указывает одиночное значение <code>&lt;color&gt;</code>.</p>

<h3 id="Values">Значения</h3>

<dl>
 <dt>{{cssxref("&lt;color&gt;")}}</dt>
 <dd>Цвет линий, разделяющих столбцы.</dd>
</dl>

<h3 id="Формальный_синтаксис">Формальный синтаксис</h3>

{{csssyntax}}

<h2 id="Пример">Пример</h2>

<h3 id="HTML">HTML</h3>

<pre class="brush: html">&lt;p&gt;This is a bunch of text split into three columns.
   The `column-rule-color` property is used to change
   the color of the line that is drawn between columns.
   Don't you think that's wonderful?&lt;/p&gt;</pre>

<h3 id="CSS">CSS</h3>

<pre class="brush:css">p {
  column-count: 3;
  column-rule-style: solid;
  column-rule-color: blue;
}
</pre>

<h3 id="Результат">Результат</h3>

<p>{{EmbedLiveSample("Пример")}}</p>

<h2 id="Спецификации">Спецификации</h2>

{{Specifications}}

<p>{{cssinfo}}</p>

<h2 id="Поддержка_браузерами">Поддержка браузерами</h2>



<p>{{Compat}}</p>

<h2 id="Смотрите_также">Смотрите также</h2>

<ul>
 <li>The {{cssxref("&lt;color&gt;")}} data type</li>
 <li>Other color-related properties: {{cssxref("color")}}, {{cssxref("background-color")}}, {{cssxref("border-color")}}, {{cssxref("outline-color")}}, {{cssxref("text-decoration-color")}}, {{cssxref("text-emphasis-color")}}, {{cssxref("text-shadow")}}, and {{cssxref("caret-color")}}</li>
 <li><a href="/en-US/docs/Web/HTML/Applying_color">Applying color to HTML elements using CSS</a></li>
</ul>