While driving at approximately 40 mph, traffic began to slow. When I attempted to slow to match traffic conditions, my brake pedal offered almost no resistance and sank to the floor. The car did not slow. I pumped the brake pedal repeatedly but it had no connection to the cars brakes. A vehicle collision occurred as a result as I coasted into the car ahead of me.