... div#title { display: flex; flex-direction: row; flex-wrap: wrap; ... } ...