how to adujst position of centered element css code example
Example 1: keeping elements of container in center
.container {
margin : 0 auto;
}
Example 2: center css elements
body{
display: grid;
place-items: center;
}
.container {
margin : 0 auto;
}
body{
display: grid;
place-items: center;
}