Current views suggest that matter, space, time, and gravity all interact and are directly dependent upon each other for existence. Since there was no matter at the instant of the "Big Bang, only energy, there was no gravity. The Universe was dominated by radiation. This means that the majority of the energy is in the form of photons and other massless or nearly massless particles (like neutrinos) that move at near the speed of light. As the big bang developed in time, the temperature dropped rapidly as the Universe expanded and the average velocity of particles decreases. Only then, (about 700,000 years into the event) could the phenomena of gravity come into existence with the formation of protons and electrons into hydrogen...
(Greatly simplified dissertation, by the way)