Template:Flexbox-item-header: Difference between revisions
Jump to navigation
Jump to search
>Corveroth m (Protected "Template:Flexbox-item-header": High exposure and/or heavy usage ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
>Corveroth m (Changed protection level for "Template:Flexbox-item-header" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 23:08, 4 April 2016
Flexbox-item-header opens a wrapper for elements within a flexbox.
It sets several CSS properties that are meaningless outside of an HTML element with display: flex
.
It must be closed with either Template:Flexbox-footer, or a </div>
.
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.