css align images code example
Example: Aligning an image in css
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}