aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/css/column-fill/index.html
blob: 3750096c9f459edfca0fa730fb3ccaffc4bfc0bb (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
---
title: column-fill
slug: Web/CSS/column-fill
tags:
  - CSS
  - CSS Eigenschaft
  - CSS Mehrspalten
  - NeedsBrowserCompatibility
  - Referenz
translation_of: Web/CSS/column-fill
---
<div>{{CSSRef}}</div>

<h2 id="Übersicht">Übersicht</h2>

<p>Die <a href="/de/docs/Web/CSS">CSS</a> Eigenschaft <code>column-fill</code> bestimmt die Aufteilung von Inhalten auf Spalten. Inhalte können entweder gleichmäßig verteilt werden, damit alle Spalten dieselbe Höhe haben, oder sie nehmen den Raum ein, den der Inhalt benötigt, sofern <code>auto</code> verwendet wird.</p>

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

<h2 id="Syntax">Syntax</h2>

<pre class="brush:css">/* Schlüsselwortwerte */
column-fill: auto;
column-fill: balance;

/* Globale Werte */
column-fill: inherit;
column-fill: initial;
column-fill: unset;
</pre>

<h3 id="Werte">Werte</h3>

<dl>
 <dt><code>auto</code></dt>
 <dd>Die Spalten werden fortlaufend gefüllt.</dd>
 <dt><code>balance</code></dt>
 <dd>Der Inhalt wird gleichmäßig aufgeteilt.</dd>
</dl>

<h3 id="csssyntax">{{csssyntax}}</h3>

<h2 id="Beispiel">Beispiel</h2>

<pre class="brush:css">.content-box {
  column-count: 4;
  column-rule: 1px solid black;
  column-fill: balance;
  height: 200px;
}
</pre>

<h2 id="Spezifikationen">Spezifikationen</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Spezifikation</th>
   <th scope="col">Status</th>
   <th scope="col">Kommentar</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Multicol', '#column-fill', 'column-fill')}}</td>
   <td>{{Spec2('CSS3 Multicol')}}</td>
   <td>Ursprüngliche Definition</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2>

{{Compat("css.properties.column-fill")}}