CSS3 object-fit Property
RJM Programming, October, 2017 ... thanks to
https://www.w3schools.com/css/css3_object-fit.asp
Image
img.fill { object-fit: fill; }
img.contain { object-fit: contain; }
img.cover { object-fit: cover; }
img.scale-down { object-fit: scale-down; }
img.none { object-fit: none; }
Video
video.fill { object-fit: fill; }
video.contain { object-fit: contain; }
video.cover { object-fit: cover; }
video.scale-down { object-fit: scale-down; }
video.none { object-fit: none; }