Objekt-Fit: Deckung;

/*image cover*/
object-fit: cover; 
/*image perfect size css html*/
Shibli Raihan