use flex to cover whole width code example Example: space between flexbox justify-content: space-between;