Answers for "how to put div in center css"

CSS
89

center a div in css

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

how to center a div

margin:auto
Posted by: Guest on August-13-2020

Code answers related to "how to put div in center css"

Browse Popular Code Answers by Language