Answers for "how to center a div incss"

CSS
89

center a div in css

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

how to center a div

It's normal to not know how to center a div, just copy and learn from the codes below
Posted by: Guest on August-11-2021

Browse Popular Code Answers by Language