NOTE: Ridimensiona la finestra per vedere come cambia l'ampiezza delle colonne contenente il testo.
Osserva l'apertura tra le colonne dell'elemento del div
Tutto variabile dal Css.
ESEMPIO: copia codice
/* QUESTO VA NEL HEAD*/
<style>
div{
column-count: 3;
column-gap: 30px;
background: yellow;
}
</style>
/* QUESTO VA NEL BODY*/
<h1>CSS column-gap
Property</h1>
<h2>column-gap:
30px</h2>
<div>
Lorem
Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it
to make a type specimen book. It has survived not only five centuries,
but also the leap into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the release of Letraset
sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem
Ipsum.
</div>
<p style="margin-top:
100px;"><b>Note: </b>Notice the gap
between the columns of the div element</p>
<p><b>Tip:
</b>Change the gap value and click on the Run button for
clear understanding.</p>
|