Answers for "how do you center a div element"

CSS
0

how to center a div

.center { 
	display: grid;
    place-items: center;
}
Posted by: Guest on January-07-2022

Code answers related to "how do you center a div element"

Browse Popular Code Answers by Language