Answers for "how to align box in center"

CSS
89

center a div in css

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

center a div

.container{
	margin: 0 auto;
    display: flex;
    align-items: center;
}
Posted by: Guest on August-03-2021

Code answers related to "how to align box in center"

Browse Popular Code Answers by Language