css set text right of flex code example Example: flex item right header > div:nth-child(3) { margin-left: auto;}