1.2.4 • Published 7 months ago

@fylgja/aspect-ratio v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Fylgja - Aspect Ratio

NPM version license

The aspect ratio component is used to set videos to a certain responsive aspect ratio,

but can also be used for images and other content.

Installation

npm install @fylgja/aspect-ratio

Then include the component in to your code via;

@use "@fylgja/aspect-ratio";
// Or via PostCSS import
@import "@fylgja/aspect-ratio";

@layer support

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

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

How to use

For more information see the aspect-ratio docs on the Fylgja.dev.

1.2.4

7 months ago

1.2.3

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago