Template:Flexbox-item-header/doc

From Legend of the Five Rings Wiki
Jump to: navigation, search
Template-info.png Documentation

Flexbox-item-header opens a wrapper for elements within a {{Flexbox-header}}.

It sets several CSS properties that are meaningless outside of an HTML element with display: flex.

It must be closed with a {{Flexbox-footer}}.

Flexbox-item-header accepts two parameters. order is required and sets the position of this flexbox-item relative to others; it accepts any integer. style allows for arbitrary CSS.

Frankly, the code for this is a mess, but it is necessary until the underlying technology is a more widespread web standard.

See also

A Guide to CSS Flexbox

This is the documentation page, it should be transcluded into the main template page. See {{doc}} for more information.