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 polyfill for the background-image cover effect combined with responsive image behaviour with the `<img>` or `<picture>` element.
Just the math behind object-fit and object-position
⚛️ React Project - How to create Full screen & responsive video background in REACT - How to guide tutorial 👉 https://frnt-end.github.io/React-Responsive-Video/
Image object-fit and object-position utilities
mock css object-fit with canvas and support rotate
I built a pretty travel landing page using HTML & CSS basics. Therefore, I implemented a HTML semantic strucure with convenient navigation bar and a logo. I also worked on the CSS layout of the website, using flexbox and the grid. Besides that, I imported normal images and background images as well. Then, I created a header positioned above the …
An user-interface (UI) design by using plain HTML and CSS, without using any library or frameworks.
A lightweight, dependency-free object-fit polyfill.
Responsive SVG "polyfill" for object-fit and object-position.
Object-fit alternative only for IE. It helps to fit the image into the containers.
Nesse modulo foram abordados os temos de flexbox, grid, animações, transições, object-fit | position, fontes web, efeito de texto, view port | grid e media queries.
Vanilla JS library that's all about images: lazy loading, spacer generating, svg to inline...
Desenvolvendo minhas habilidades HTML e CSS.
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."