Search results

10 packages found

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

published version 5.0.0, 6 months ago20 dependents licensed under $MIT
81,123

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

published version 2.0.0, 2 years ago2 dependents licensed under $MIT
4,010

Background size CSS module for Tachyons

published version 5.0.5, 8 years ago3 dependents licensed under $ISC
136

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

published version 2.0.8, 8 years ago0 dependents licensed under $MIT
100

Css module of single purpose classes for background size

published version 1.0.7, 9 years ago0 dependents licensed under $MIT
47

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

published version 0.5.0, 6 years ago0 dependents licensed under $MIT
31

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

published version 1.2.0, 8 years ago0 dependents licensed under $MIT
22

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

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
20

A parser for valid background-size CSS values.

published version 0.1.2, 3 years ago0 dependents licensed under $ISC
18

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

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
13