Skip to main content

side-by-side

A simple wrapper around grid that creates a single-row grid. Used as the default composer for multi-body slides.

Example: side-by-side[a][b][c] will display a, b, and c side by side.

Parameters

columns : auto | array    default: auto

The column widths. Default is auto, which creates equal-width columns matching the number of bodies.

gutter : length    default: 1em

The space between columns. Default is 1em.

..bodies : content

The contents to display side by side.

Returns: content