2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

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.

userimage

try below class to make an image at center:


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