New sworn-in Karnataka Chief Minister B.S. Yeddyurappa resigned on the floor of the Vidhan Sabha ahead of a floor test to prove BJP's numbers in the Assembly.