.crop-img{ max-height:150px; max-width:100%; } .large-img{ max-width:100%; } .carousel-img { margin: auto; padding: 10px; max-height:300px; max-width:100%; } /* * uncomment this for some css3 drop shadows and rounded corners. */ .thumbnail,.nav, .large-img, .crop-img{ border-radius: 2px; padding-top:5px; } .thumbnail,.nav { box-shadow: 2px 2px 5px #888888; } .thumbnail { height: 30vh; overflow: hidden; }