align an element to the right of dib code example
Example 1: align div to the right
display:inline-block; float:right;
Example 2: how to align items in css
div
{
display:flex;
align-items:center;
justify-content:center;
}
display:inline-block; float:right;
div
{
display:flex;
align-items:center;
justify-content:center;
}