Skip to contents

Generates all required css for a set of children attributes, for a flex wrapper.

Usage

generateFlexChildrenCSS(attributes, id, number_children, breakpoint_system)

Arguments

attributes

Normalized attribute list to generate css from.

id

The id of the parent wrapper element.

number_children

Number of child elements in the wrapper. Required to generate rules for flex elements.

breakpoint_system

Media breakpoints to use.

Value

A string with all placeholders replaced.