css center grid

36

div {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3px;
  justify-items: center;
  align-items: center;
}
.center {
  display: grid;
  place-items: center;
}

Comments

Submit
0 Comments