Use flex
to create a block-level flex container.
Utilities for controlling the initial size of flex items.
Use inline-flex
to create an inline flex container.
Utilities for controlling the direction of flex items.
Utilities for controlling how flex items wrap.
Utilities for controlling how flex items both grow and shrink.
export default {
theme: {
flex: {
1: '1 1 0%',
auto: '1 1 auto',
initial: '0 1 auto',
inherit: 'inherit',
none: 'none',
2: '2 2 0%',
},
},
}
Utilities for controlling how flex items grow.
export default {
theme: {
flexGrow: {
0: 0,
DEFAULT: 2,
1: 1,
},
},
}
Utilities for controlling how flex items shrink.
export default {
theme: {
flexShrink: {
0: 0,
DEFAULT: 2,
1: 1,
},
},
}