fauzanjeg

Make Image in Center and Fit Container

Apr 15th, 2021 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.20 KB | None | 0 0
  1. .thumbnail-container>img {
  2.     width: 100%;
  3.     height: 100%;
  4.     margin: auto;
  5.     left: auto;
  6.     min-height:unset;
  7. }
  8.  
  9. .thumbnail-container {
  10.     display: flex;
  11.     justify-content: center;
  12. }
Add Comment
Please, Sign In to add comment