.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%; transform: RotateY(20deg); /* just for testin */ }