.wiki-template-card { border: 1px solid #ccc; width: 30%; background:white; box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); } img{ width:100%; margin: 0; height: 200px; object-fit: cover; }