center stuff in div code example
Example 1: center css elements
body{
display: grid;
place-items: center;
}
Example 2: how to center anything inside your container
display: grid;
place-items: center;
height: 100vh;
body{
display: grid;
place-items: center;
}
display: grid;
place-items: center;
height: 100vh;