best way to put item in center css code example
Example: how to make things center using css
// add to the parent element
.parent{
height:100vh;
display:flex;
justify-content: center;
align-items: center;
}
// add to the parent element
.parent{
height:100vh;
display:flex;
justify-content: center;
align-items: center;
}