包详细信息

@fylgja/stretched-link

fylgja80MIT1.2.0

The Fylgja stretched-link component, make any component fully clickable via a nested link

fylgja, fylgja component, stretched-link, cascade-layer

自述文件

Fylgja - Stretched-link

NPM version license

Make any component fully clickable via a nested link.

Installation

npm install @fylgja/stretched-link

Then include the component in to your code via;

@use "@fylgja/stretched-link";
// Or via PostCSS import
@import "@fylgja/stretched-link";

@layer support

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

@use "@fylgja/stretched-link" with ($stretched-link-layer: "utilities");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/stretched-link" layer("utilities");

How to use

For more information see the stretched-link docs on the Fylgja.dev.