how to align a div center in css code example
Example: centering css elements
// add to the parent element
.parent {
display: grid;
place-items: center;
}
// add to the parent element
.parent {
display: grid;
place-items: center;
}