PostCSS plugin for write short flex parameters
yarn add postcss-flex-short --save
div {
flex-container: width 1200px, direction row, align center, justify stretch, wrap nowrap;
}
p {
flex-column: width 400px, flex 1 0 0, basis 400px, grow 0, shrink 1, align flex-start, justify stretch;
}
div {
display: flex;
width: 100%;
max-width: 1200px;
flex-direction: row;
align-items: center;
justify-content: stretch;
flex-wrap: nowrap;
}
p {
width: 100%;
max-width: 400px;
flex: 1 0 0;
flex-basis: 400px;
flex-grow: 0;
flex-shrink: 1;
align-self: flex-start;
justify-self: stretch;
}