To leave or not to leave? That was the question for millions of British voters.