Object Fit
Using our object fit class, resize an elements content to cover its container.
Using our object fit class, resize an elements content to cover its container.
<div class="u-max-20 u-h-10 u-radius-xl u-overflow-hidden">
<img class="c-img | o-fit" src="https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80" width="" height="" alt>
</div>