Answers for "take div to center"

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 a cpontent css

.center_me {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language