Full-Screen Background Video using CSS Grid & object-fit

Full-Screen Background Video using CSS Grid & object-fit

See the Code
See it Full Page
See Details

This pen show how CSS grid and the ‘object-fit’ property can be used to create a background video that scales to cover the full screen while maintaining its aspect ratio.

This Pen uses: HTML, CSS, JavaScript, and


Source: codepen

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *