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