css center everything

44

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
body {
  display:flex; flex-direction:column; justify-content:center;
  min-height:100vh;
}

Comments

Submit
0 Comments