Easy ways of centering elements in css. Centering anything in css sometimes could be very difficult at times, here are s 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;
}