📐 A simple utility function, and command line utility, for calculating an aspect ratio based on width and height.
MIT License
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
What you really wanted when you asked for viewport units
Get the real size of an <img>, <video>, or <canvas> in the browser.
A responsive Image element that takes the full width of its parent element while maintaining aspe...
Get the rendered size of a React element without needing to render it
一个可以把js源代码压缩成一个ascii字符画的源代码的工具,压缩后的代码仍可运行 (A tool can compress JavaScript code to any ascii image...
Get the screen aspect ratio of a device.
React Redux Boilerplate
A lightweight, zero-dependencies, React-Native utility belt for scaling the size of your apps UI ...
Get position and size attributes for any React Component
📏 Compute measurements of a React component.
A PostCSS plugin to support aspect-ratio property.