make text float right in a flexbox code example Example: float right flex .parent { display: flex; } .child { margin-left: auto; order: 2; }