Answers for "content in the center vertically and horizontally css"

CSS
1

center align an image css

<img src="myImg.png" class="center">

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
Posted by: Guest on January-28-2021

Code answers related to "content in the center vertically and horizontally css"

Browse Popular Code Answers by Language