aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/column-rule-style/index.html
blob: 926175caa1cb37d9585413d3eb538c3bc05f366c (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
84
85
86
87
88
89
90
91
92
93
94
95
---
title: column-rule-style
slug: Web/CSS/column-rule-style
tags:
  - мультиколоночная верстка
translation_of: Web/CSS/column-rule-style
---
<div>{{ CSSRef}}</div>

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

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



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

<pre class="brush:css no-line-numbers">/* &lt;'border-style'&gt; значения */
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;

/* глобальные значения */
column-rule-style: inherit;
column-rule-style: initial;
column-rule-style: unset;
</pre>

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

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

<dl>
 <dt><code>&lt;'border-style'&gt;</code></dt>
 <dd>Ключевое слово, определяющее  {{ cssxref("border-style") }}, описывающий стиль для линии, разделяющей столбцы. Стилизация должна быть интерпретирована как разрушающая границы модель.</dd>
</dl>

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

<pre class="syntaxbox">{{csssyntax}}
</pre>

<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-style` property is used to change
   the style 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: dashed;
}</pre>

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

<p>{{ EmbedLiveSample('Example') }}</p>

<h2 id="Спецификации">Спецификации</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', '#crs', 'column-rule-style') }}</td>
   <td>{{ Spec2('CSS3 Multicol') }}</td>
   <td>Первое определение</td>
  </tr>
 </tbody>
</table>

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

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



<p>{{Compat("css.properties.column-rule-style")}}</p>