Answers for "how to move a div to the center in css"

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

Code answers related to "how to move a div to the center in css"

Browse Popular Code Answers by Language