# postcss-flex-short

> PostCSS plugin for write short flex parameters

Latest version **1.2.0** (published 2018-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-flex-short
pnpm add postcss-flex-short
yarn add postcss-flex-short
bun add postcss-flex-short
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-10-10 |
| First published | 2018-03-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | AlekseyPleshkov |
| Maintainers | alekseypleshkov |
| Keywords | css, postcss, postcss-plugin, flexbox, flex, grid, postcss-flex |

## Links

- npm: https://www.npmjs.com/package/postcss-flex-short
- Repository: https://github.com/AlekseyPleshkov/postcss-flex-short
- Issues: https://github.com/AlekseyPleshkov/postcss-flex-short/issues
- npm.io page: https://npm.io/package/postcss-flex-short

## Dependencies (1)

- [postcss](https://npm.io/package/postcss.md) ^7.0.5

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2018-10-10
- 1.1.1 — 2018-05-28
- 1.1.0 — 2018-04-22
- 1.0.0 — 2018-03-22
- 0.0.3 — 2018-03-19
- 0.0.2 — 2018-03-14
- 0.0.1 — 2018-03-14

## README

# postcss-flex-short

PostCSS plugin for write short flex parameters

## Install

```
yarn add postcss-flex-short --save
```

## Example

### Input

```css
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; 
}
```

### Output

```css
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;
}
```

---
_Source: https://npm.io/package/postcss-flex-short · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
