Container component
The container component is wrapper component, to make all child elements fit better in the page.
Installation
npm install @fylgja/container
Then include the component in to your code via;
@use "@fylgja/container";
// Or via PostCSS import
@import "@fylgja/container";
@layer
support
If you need support for @layer
,
use the following import;
@use "@fylgja/container" with ($container-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/container" layer("components");
How to use
For more information see the container docs on the Fylgja.dev.