Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 973 Bytes

File metadata and controls

26 lines (20 loc) · 973 Bytes
description
Columns of content

Cols

👁️ PREVIEW

A set of equal-width columns with content, up to a maximum of 3. Columns are vertically aligned to the top, and wrap on smaller screen sizes. Compared to the grid component, use this when you want to put multiple items per column or have long arbitrary content.

{% raw %}
{% capture col1 %}lorem{% endcapture %}
{% capture col2 %}ipsum{% endcapture %}
{% capture col3 %}dolor{% endcapture %}
{% endraw %}

{%
  include cols.html
  col1=col1
  col2=col2
  col3=col3
%}
Parameter
col1 / or anyThe content of the column. Param names can be anything. Up to 3 columns will be displayed in same order as parameters. Can contain Markdown. Accepts arbitrary content.