9 packages found

M
Q
P

Description

Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.

Keywords

Publisher

published 3.0.4a year ago
M
Q
P

Description

Computes a transform between two rectangles the same way as background-size cover

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

Computes a transform between two rectangles the same way as background-size contain

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

Be lazy, add images' CSS automatically, like width & height and more.

Keywords

Publisher

published 2.0.84 years ago
M
Q
P

Description

Background size CSS module for Tachyons

Keywords

Publisher

published 5.0.54 years ago
M
Q
P

Description

useElementFit is a React hook that allows you to measure and element's based on certain restraints, similar to object-fit in CSS.

Keywords

Publisher

published 0.5.0a year ago
M
Q
P

Description

Parses your CSS to find the assets and then saves (or convert to inline) and compresses

Keywords

Publisher

published 1.3.12 years ago
M
Q
P

Description

Css module of single purpose classes for background size

Keywords

Publisher

published 1.0.74 years ago
M
Q
P

Description

Find the assets and then saves (or convert to inline) and compresses

Keywords

Publisher

published 1.2.03 years ago