Wes Bos on Twitter: "🔥 Use CSS object-fit: contain; and object-fit: cover; to scale 100% width and 100% height images as large as they will go without messing up aspect ratios. Works
object-fit - CSS: Cascading Style Sheets | MDN
Object-fit Test Page
A Deep Dive Into object-fit And background-size In CSS — Smashing Magazine
55 - آموزش جامع HTML & CSS : Object fit - YouTube
A Deep Dive Into object-fit And background-size In CSS — Smashing Magazine
CSS object-fit property - javatpoint
HTML Video element (<video>) doesn't support "object-fit: cover" - Samsung Internet - Samsung Developers Community