A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/12050 below:

[css-multicol-2] `columns` shorthand with `column-height` and `column-wrap` · Issue #12050 · w3c/csswg-drafts · GitHub

https://drafts.csswg.org/css-multicol-2/#columns

The value of columns is currently defined as:

Value: <'column-width'> || <'column-count'> || <'column-height'> || <'column-wrap'>

I.e. four longhand properties in any order.

This won't work, since there are two length values (column-width and column-height), so the order would have to be specified.

At the same time, ever since the introduction of multicol, we've been allowed to do column-count and column-width in any order, so this has to be kept.

Maybe we need a '/' in the syntax, and place column-height in the denominator? Or some sort of intricate syntax to allow column-width and column-height in any order (at least if they're the two first values), but not the rest. In any case, if the author only wants to specify column height, the shorthand will not be super-pretty. auto / <column-height>? auto auto auto <column-height>?

@rachelandrew


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4