@nasa-jpl/svelte-css-grid
v0.0.1
Published
## Installation
Downloads
3
Maintainers
Keywords
Readme
@nasa-jpl/svelte-css-grid
Installation
npm install @nasa-jpl/svelte-css-grid --save
Usage
<script>
import { CssGrid, CssGridGutter } from '@nasa-jpl/svelte-css-grid';
</script>
<CssGrid columns="1fr 5px 1fr 5px 1fr">
<div />
<CssGridGutter track={1} type="column" />
<CssGrid rows="1fr 5px 1fr">
<div />
<CssGridGutter track={1} type="row" />
<div />
</CssGrid>
<CssGridGutter track={3} type="column" />
<div />
</CssGrid>