How to show image in center of a div

 

#How to show image in center of a div:

Use this css to make the image center in a div. Its worked for me.  

#Show image in Center


.item img{    

    width: 100%;

    max-height: 350px;

    object-fit: contain;

    align-items: center;

}

Continue reading “How to show image in center of a div”

Please follow and like us:
0