Answers for "how to center box in html css"

CSS
89

center a div in css

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on September-09-2020
1

center div css

.container {
  display: grid;
  place-items: center;
}
Posted by: Guest on June-01-2021

Browse Popular Code Answers by Language