A small React component rendering a <video/> with object-fit: cover, or a Fallback if object-fit is not available.
-
Updated
Dec 9, 2022 - JavaScript
A small React component rendering a <video/> with object-fit: cover, or a Fallback if object-fit is not available.
React component that render <img> with nicer interface
Generate the object-position value to capture an image's focal point given a custom aspect-ratio.
A lightweight, dependency-free object-fit polyfill.
Responsive SVG "polyfill" for object-fit and object-position.
Vanilla JS library that's all about images: lazy loading, spacer generating, svg to inline...
Add a description, image, and links to the object-fit topic page so that developers can more easily learn about it.
To associate your repository with the object-fit topic, visit your repo's landing page and select "manage topics."