Object Fit
El object-fit es una clase utilitaria para ser usada en vistas y creaciĆ³n de componentes.
DemostraciĆ³nā
:format(jpg)/f.elconfidencial.com%2Foriginal%2F4d0%2F68f%2Fb04%2F4d068fb04ec4ef3950da1cb9ed696747.jpg)
:format(jpg)/f.elconfidencial.com%2Foriginal%2F4d0%2F68f%2Fb04%2F4d068fb04ec4ef3950da1cb9ed696747.jpg)
:format(jpg)/f.elconfidencial.com%2Foriginal%2F4d0%2F68f%2Fb04%2F4d068fb04ec4ef3950da1cb9ed696747.jpg)
:format(jpg)/f.elconfidencial.com%2Foriginal%2F4d0%2F68f%2Fb04%2F4d068fb04ec4ef3950da1cb9ed696747.jpg)
:format(jpg)/f.elconfidencial.com%2Foriginal%2F4d0%2F68f%2Fb04%2F4d068fb04ec4ef3950da1cb9ed696747.jpg)
<img src="..." class="object-fit-none" alt="...">
<img src="..." class="object-fit-contain" alt="...">
<img src="..." class="object-fit-cover" alt="...">
<img src="..." class="object-fit-base" alt="...">
<img src="..." class="object-fit-scale" alt="...">