Answers for "css style center align"

CSS
15

css align items vertical center

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on October-31-2020
2

how to horizontal center a div in css

#inner {
  width: 50%;
  margin: 0 auto;
}
Posted by: Guest on June-18-2020

Browse Popular Code Answers by Language