css how to center images in a div code example
Example: image center in div
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
}