CSS Columns
by girlie_mac
HTML
<section>
<h1>Fluid Layout with CSS Columns</h1>
<article>
<p>pitch beer rims infusion yeast krug. bitter, "aroma hops alpha acid shelf life priming seidel." dry stout finishing hops bottom fermenting yeast top-fermenting yeast heat exchanger krausen hefe. dextrin acid rest anaerobic lambic-- primary fermentation krausen pub hop back ale. double bock/dopplebock; hydrometer hoppy mash tun.</p>
<p>hard cider squares hard cider aroma hops. infusion terminal gravity anaerobic lauter tun. lauter, reinheitsgebot beer conditioning malt extract enzymes bottom fermenting yeast hydrometer hop back. lauter ibu. acid rest conditioning, " craft beer bacterial additive; double bock/dopplebock." goblet; primary fermentation finishing hops, reinheitsgebot reinheitsgebot hop back sour/acidic pint glass lambic. sour/acidic cold filter barley.</p>
<p>Primary fermentation finishing hops, reinheitsgebot reinheitsgebot hop back sour/acidic pint glass lambic. sour/acidic cold filter barley pitch beer rims infusion yeast krug. bitter, "aroma hops alpha acid shelf life priming seidel." dry stout finishing hops bottom fermenting yeast top-fermenting yeast heat exchanger krausen hefe. dextrin acid rest anaerobic lambic-- primary fermentation krausen pub hop back ale. double bock/dopplebock; hydrometer hoppy mash tun.</p>
</article>
</section>
CSS
* {
box-sizing: border-box;
}
body {
margin: 1em;
font-family: "Helvetica Neue", "HelveticaNeue", "Helvetica", "Arial", sans-serif;
}
h1 {
font-weight: normal;
}
p {
margin: 0 0 1em 0;
}
article {
-webkit-columns: 200px;
-moz-columns: 200px;
columns: 200px;
}
/* The default column-gap:normal value is UA-specific, although ‘1em’ is suggested. */