A type of natural selection in which individuals with two extreme forms of a trait have an advantage.