Answers for "flex class will you use to put elements in the horizontal center of the available width"

CSS
2

center div css flex

section {
  width: 200px;
  border: 1px solid #2d2d2d;
  display: flex;
  justify-content: center;
}
Posted by: Guest on June-19-2020

Code answers related to "flex class will you use to put elements in the horizontal center of the available width"

Browse Popular Code Answers by Language