make center center horizontally and vertically code example
Example 1: css center image
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
Example 2: how to center anything inside your container
display: grid;
place-items: center;
height: 100vh;