Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .img-container{
- height:100%;
- max-height:200px;
- }
- .img-container img{
- display: block;
- width: 100%;
- height: 100%;
- object-fit:cover;
- }
- /*
- Use:
- <div class="img-container">
- <img src="image.jpg" class="img-responsive" />
- </div>
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement