3 .\*\:items-center > * {
12 // Create an empty map to make it reachable outside of loops
15 // Add `flex-direction` utilities to the map
16 @each $direction in (row, row-reverse, column, column-reverse) {
17 $dummy-map: map.merge(
22 flex-direction: $direction,
28 // Add `justify` utilities to the map
29 @each $justify in (start, center, end, space-between, space-around, space-evenly) {
30 // Remove prefix when 'start' and 'end' will be recognized by browsers
31 $prefix: if($justify == start or $justify == end, 'flex', '');
32 $dummy-map: map.merge(
37 justify-content: #{dash-join($prefix, $justify)},
43 // Add `flex-wrap` utilities to the map
44 @each $wrap in (wrap, wrap-reverse, nowrap) {
45 $dummy-map: map.merge(
56 // Add `order` utilities to the map
57 // Use a for in case we need more
58 @for $i from 0 through 3 {
59 $dummy-map: map.merge(
70 @each $order in (initial) {
71 $dummy-map: map.merge(
82 // Add `align-items` utilities to the map
83 @each $align in (start, center, end, baseline, stretch, inherit) {
84 // Remove prefix when 'start' and 'end' will be recognized by browsers
85 $prefix: if($align == start or $align == end, 'flex', '');
86 $dummy-map: map.merge(
91 align-items: #{dash-join($prefix, $align)},
95 align-self: #{dash-join($prefix, $align)},
101 // Serialize the responsive utilities creation with the map to avoid any cascade ordering issues
102 @include responsive-classes($dummy-map);
104 // ----------------------------------------------------------------------------
106 @include responsive-classes(
109 // Do not use `0%` for basis:
110 // Percentage depends on explicit size of the container, which causes issues with auto height
139 flex-grow: var(--#{'[BPN]' + 'grow-custom'}),