Whisk vinegar, sugar, salt, and celery seed together in a large bowl; stir in cucumbers and onion. Cover and refrigerate overnight. Serve cold.