align items in center code example
Example 1: how to make a division center css
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
Example 2: how to align items in css
div
{
display:flex;
align-items:center;
justify-content:center;
}
Example 3: align items center css
.parent_div
{
display:flex;
align-items:center;
}