Answers for "center <div><div>"

CSS
2

centre div

<div class="container">
  <div class="child"></div>
</div>
.container {
  ...
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on July-28-2021

Code answers related to "center <div><div>"

Browse Popular Code Answers by Language