Answers for "how to place a box in css in the 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 place a box in css in the center"

Browse Popular Code Answers by Language