# How to make an image align center using css

How to make an image align center using css as its always going to left right corner.

try below class to make an image at center:

.center-image {
margin: auto;
display: block;
}