# tailwindcss-simple-grid

> ```js const grid = require('tailwindcss-simple-grid')

Latest version **0.0.2** (published 2020-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install tailwindcss-simple-grid
pnpm add tailwindcss-simple-grid
yarn add tailwindcss-simple-grid
bun add tailwindcss-simple-grid
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-01-02 |
| First published | 2020-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brad Cornes |
| Maintainers | bradlc |
| Keywords | tailwindcss, tailwind |

## Links

- npm: https://www.npmjs.com/package/tailwindcss-simple-grid
- npm.io page: https://npm.io/package/tailwindcss-simple-grid

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2020-01-02
- 0.0.1 — 2020-01-02

## README

# tailwindcss-simple-grid

```js
const grid = require('tailwindcss-simple-grid')

module.exports = {
  theme: {
    width: theme => ({
      auto: 'auto',
      full: '100%',
      ...grid(theme)
    }),
    margin: theme => ({
      ...grid(theme),
      ...grid.negative(theme)
    }),
    grid: {
      columns: 12,
      gutter: 32,
      container: {
        maxWidth: 1280,
        gutter: {
          _: 25,
          md: 50
        }
      }
    }
  },
  plugins: [grid],
  corePlugins: {
    container: false
  }
}
```

### Output

```css
.container {
  width: 100%;
  max-width: 1280px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}

.col {
  width: 100%;
  flex: none;
  padding-left: 16px;
  padding-right: 16px;
}
```

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