|
|
@ -19,7 +19,7 @@
|
|
|
|
<a href="allgemeines.html">Flexbox-Layout</a>
|
|
|
|
<a href="allgemeines.html">Flexbox-Layout</a>
|
|
|
|
<a href="../grid/allgemeines.html">Grid-Layout</a>
|
|
|
|
<a href="../grid/allgemeines.html">Grid-Layout</a>
|
|
|
|
<a href="../text_styling/allgemeines.html">Text-Styling</a>
|
|
|
|
<a href="../text_styling/allgemeines.html">Text-Styling</a>
|
|
|
|
<a href="position.html">Position-Eigenschaft</a>
|
|
|
|
<a href="../position/allgemeines.html">Position-Eigenschaft</a>
|
|
|
|
<a href="../animation/animations.html">Animationen</a>
|
|
|
|
<a href="../animation/animations.html">Animationen</a>
|
|
|
|
</nav>
|
|
|
|
</nav>
|
|
|
|
<nav class="navigationbar">
|
|
|
|
<nav class="navigationbar">
|
|
|
@ -37,7 +37,8 @@
|
|
|
|
<h3 id="anchor21">flex-wrap</h3>
|
|
|
|
<h3 id="anchor21">flex-wrap</h3>
|
|
|
|
<h4>Mit horizontaler Anordnung</h4>
|
|
|
|
<h4>Mit horizontaler Anordnung</h4>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example3 { <br>   display: flex; <br>   flex-direction: row; <br>   flex-wrap: wrap; <br> }</code>
|
|
|
|
<code>#example3 { <br>   display: flex; <br>   flex-direction: row; <br>   flex-wrap:
|
|
|
|
|
|
|
|
wrap; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example3">
|
|
|
|
<div class="visual-example" id="example3">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -51,7 +52,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h4>Mit vertikaler Anordnung</h4>
|
|
|
|
<h4>Mit vertikaler Anordnung</h4>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example4 { <br>   display: flex; <br>   flex-direction: column; <br>   flex-wrap: wrap; <br>   max-height: 600px; <br> }</code>
|
|
|
|
<code>#example4 { <br>   display: flex; <br>   flex-direction: column; <br>   flex-wrap:
|
|
|
|
|
|
|
|
wrap; <br>   max-height: 600px; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example4">
|
|
|
|
<div class="visual-example" id="example4">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -70,7 +72,8 @@
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<h3 id="anchor22">flex-flow</h3>
|
|
|
|
<h3 id="anchor22">flex-flow</h3>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example4 { <br>   display: flex; <br>   flex-flow: column wrap; <br>   max-height: 600px; <br> }</code>
|
|
|
|
<code>#example4 { <br>   display: flex; <br>   flex-flow: column wrap; <br>   max-height:
|
|
|
|
|
|
|
|
600px; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p class="explanation">
|
|
|
|
<p class="explanation">
|
|
|
|
<code>flex-flow</code> ist ein Shortcut, welcher die Eigenschaften <code>flex-direction</code> und
|
|
|
|
<code>flex-flow</code> ist ein Shortcut, welcher die Eigenschaften <code>flex-direction</code> und
|
|
|
@ -80,7 +83,8 @@
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h3 id="anchor23">justify-content</h3>
|
|
|
|
<h3 id="anchor23">justify-content</h3>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example5 { <br>   display: flex; <br>   flex-flow: row wrap; <br>   justify-content: center; <br> }</code>
|
|
|
|
<code>#example5 { <br>   display: flex; <br>   flex-flow: row wrap; <br>  
|
|
|
|
|
|
|
|
justify-content: center; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example5">
|
|
|
|
<div class="visual-example" id="example5">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -89,7 +93,8 @@
|
|
|
|
<p>p4</p>
|
|
|
|
<p>p4</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example6 { <br>   display: flex; <br>   flex-flow: row wrap; <br>   justify-content: flex-end; <br> }</code>
|
|
|
|
<code>#example6 { <br>   display: flex; <br>   flex-flow: row wrap; <br>  
|
|
|
|
|
|
|
|
justify-content: flex-end; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example6">
|
|
|
|
<div class="visual-example" id="example6">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -114,7 +119,8 @@
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h3 id="anchor24">align-content</h3>
|
|
|
|
<h3 id="anchor24">align-content</h3>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example7 { <br>   display: flex; <br>   flex-flow: row wrap; <br>   justify-content: flex-end; <br>   align-content: space-between; <br> }</code>
|
|
|
|
<code>#example7 { <br>   display: flex; <br>   flex-flow: row wrap; <br>  
|
|
|
|
|
|
|
|
justify-content: flex-end; <br>   align-content: space-between; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example7">
|
|
|
|
<div class="visual-example" id="example7">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -144,7 +150,8 @@
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h3 id="anchor25">overflow</h3>
|
|
|
|
<h3 id="anchor25">overflow</h3>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example8 { <br>   display: flex; <br>   flex-flow: row nowrap; <br>   overflow-x: scroll; <br> }</code>
|
|
|
|
<code>#example8 { <br>   display: flex; <br>   flex-flow: row nowrap; <br>   overflow-x:
|
|
|
|
|
|
|
|
scroll; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example8">
|
|
|
|
<div class="visual-example" id="example8">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
@ -161,7 +168,8 @@
|
|
|
|
<p>p12</p>
|
|
|
|
<p>p12</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="code-example">
|
|
|
|
<div class="code-example">
|
|
|
|
<code>#example9 { <br>   display: flex; <br>   flex-flow: column nowrap; <br>   max-height: 600px; <br>   overflow-y: scroll; <br> }</code>
|
|
|
|
<code>#example9 { <br>   display: flex; <br>   flex-flow: column nowrap; <br>  
|
|
|
|
|
|
|
|
max-height: 600px; <br>   overflow-y: scroll; <br> }</code>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="visual-example" id="example9">
|
|
|
|
<div class="visual-example" id="example9">
|
|
|
|
<p>p1</p>
|
|
|
|
<p>p1</p>
|
|
|
|