The Section component is a wrapper component to show content in a sectioned area.
Like a Hero, Banner or just simple section with a different color in the page.
npm install @fylgja/section
Then include the component in to your code via;
@use "@fylgja/section";
// Or via PostCSS import
@import "@fylgja/section";
@layer
supportIf you need support for @layer
,
use the following import;
@use "@fylgja/section" with ($section-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/section" layer("components");
For more information see the section docs on the Fylgja.dev.
Version | Tag | Published |
---|---|---|
1.1.1 | latest | 1mo ago |