Column Recipes
?columns
Expands the code for creating responsive, text-flow columns. This is best used on a rich text element.
--col-count:The number of desired columns--col-min-width:The minimum width a column can be before it stacks. Defaults to350px.--col-rule-style: The style of the ruler between columns (solid, dotted, dashed, etc.). Defaults tonone, so set it to show a ruler.--col-rule-width: The thickness of the ruler between columns--col-rule-color: The color of the ruler between columns--col-gap: The gap between columns--row-gap: The gap between "rows" (added as margin to the child elements).
Changes in 4.0.2 4.0.2+
- New defaults:
--col-min-widthis350px(was250px) and there's no ruler by default (--col-rule-style: none).
Changes From 3.x
In ACSS 4.0:
- Recipe syntax changed from
@columnsto?columns.