Answers for "how to center something with css box"

CSS
89

center a div in css

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

how to center a div

.container {
  ...
  display: flex;
  justify-content: center;
}
Posted by: Guest on February-02-2021

Browse Popular Code Answers by Language