Henry From Online | Using Focal Points, Aspect Ratio & Object-Fit To Crop Images Correctly
CSS has a lot of pretty rad and powerful features for managing image rendering these days. Let’s leverage some of these, like aspect-ratio, object-fit, and object-position for when we need to use a single image in many different contexts.