Answers for "how to align an element to the center of div in css"

CSS
90

center a div in css

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

Code answers related to "how to align an element to the center of div in css"

Browse Popular Code Answers by Language