Re: [css-display] Unofficial draft of a Display spec ready for consumption

On Mon, Oct 22, 2012 at 7:30 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> There is no way in current multi-column spec to disable "multi-columnes"
> Let's say we have this:
>
> div { columns-count:3; column-width: 45px; }
>
> And you will want to disable column layout on mobile.
>
> @media handheld {
>    div { ... how to switch to default block layout here? ... }
> }
> how to do that? Defining display:block will not help you
> to remove columns, right?

div { columns: auto; }

The initial value *obviously* turns off multicol, since it's not on by default.

~TJ

Received on Tuesday, 23 October 2012 15:30:46 UTC