how to set elemtents to center css code example
Example 1: center css elements
body{
display: grid;
place-items: center;
}
Example 2: center elemnts css
margin-left: auto;
margin-right: auto;
body{
display: grid;
place-items: center;
}
margin-left: auto;
margin-right: auto;