The selloff was widespread, particularly affecting technology and banking stocks, while select pharmaceutical companies saw slight gains.