Search results
41 packages found
Just the math behind object-fit and object-position
useElementFit is a React hook that allows you to measure and element's based on certain restraints, similar to object-fit in CSS.
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
Cross browser CSS object-fit support for picture tags
React component for fitting and positioning images with cross-browser support.
A React component that mimics `object-fit: cover`
v-object-fit directive
Generate utility classes for object-fit properties
A JavaScript plugin to contain an element within its parent element.
React component for image handling with object-fit
An Eleventy Nunjucks shortcode to provide the functionality of generating an image's `object-position` value in order to keep the focal point in view.
Generate utility classes for object-fit properties
Simple component to render a video background in Vue.js
A robust polyfill for the 'object-fit' and 'object-position' CSS-properties
An implementation of the ECMAScript® Language Specification
Contain and cover function
Ionic 2 directive to provide an object-fit CSS polyfill
video fit component built with React. <br /> [demo](http://parsimonious-yarn.surge.sh)
Opensource scrollytelling components used by Straits Times Interactive Graphics Team
Opensource scrollytelling components used by Straits Times Interactive Graphics Team