Answers for "how to make the element in the middle"

CSS
90

center a div in css

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

centering css elements

// add to the parent element
.parent {
	display: grid;
    place-items: center;
}
Posted by: Guest on August-06-2020

Code answers related to "how to make the element in the middle"

Browse Popular Code Answers by Language