9 packages found

M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
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.47 months 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.08 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.83 years ago
M
Q
P

Description

Background size CSS module for Tachyons

Keywords

Publisher

published 5.0.53 years 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.1a year ago
M
Q
P

Description

Css module of single purpose classes for background size

Keywords

Publisher

published 1.0.73 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