.library-card-mini{ display:inline; } .library-card-mini-image{ position:relative; top:0; left:0; height:30px; width:30px; overflow:hidden; } .library-card-mini-image img{ width:100%; height:auto; }