bring a container to the center code example
Example 1: keeping elements of container in center
.container {
margin : 0 auto;
}
Example 2: how to center anything inside your container
display: grid;
place-items: center;
height: 100vh;
.container {
margin : 0 auto;
}
display: grid;
place-items: center;
height: 100vh;