跳到主要内容

adaptive-columns

Adaptive columns layout that automatically chooses the number of columns based on content height.

Example: components.adaptive-columns(outline())

Parameters

gutter : length    default: 4%

The space between columns. Default is 4%.

max-count : int    default: 3

The maximum number of columns. Default is 3.

start : content | none    default: none

The content to place before the columns. Default is none.

end : content | none    default: none

The content to place after the columns. Default is none.

body : content

The content to place in the columns.

Returns: content