1.1.3 • Published 1 year ago

@fylgja/auto-grid v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Fylgja - Auto Grid

NPM version license

A super small grid with auto flowing behavior, based on the container size.

Using a similar method to container queries.

This grid uses a minmax method, it fills the grid items based on the space available.

Where the min value is static value and the max value is 1fr.

It creates a grid without needing to setup any columns and rows,

since the grid items will do this for you, following the content first approach!

Installation

npm install @fylgja/auto-grid

Then include the component in to your code via;

@use "@fylgja/auto-grid";
// Or via PostCSS import
@import "@fylgja/auto-grid";

@layer support

If you need support for @layer, use the following import;

@use "@fylgja/auto-grid" with ($auto-grid-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/auto-grid" layer("components");

How to use

For more information see the auto-grid docs on the Fylgja.dev.

1.1.3

1 year ago

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago