10 packages found
Computes a transform between two rectangles the same way as background-size cover
Computes a transform between two rectangles the same way as background-size contain
Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.
Be lazy, add images' CSS automatically, like width & height and more.
A parser for valid background-size CSS values.
useElementFit is a React hook that allows you to measure and element's based on certain restraints, similar to object-fit in CSS.
Background size CSS module for Tachyons
Css module of single purpose classes for background size
Parses your CSS to find the assets and then saves (or convert to inline) and compresses
Find the assets and then saves (or convert to inline) and compresses