Like IAMCPC said.
Don't get hung up on the name "Centre (or Center) of Gravity", just because it has "gravity" in the title. Engineers and scientists use "Center of Mass".
It doesn't matter whether the acceleration is due to gravity, ball hit by a bat, bullet in a gun, or something on the floor of an aircraft pulling "g". As long as the accelerating force is distributed around the Centre of Mass (C of M) it's stable.
In the teeter totter (I'm assuming Brit English see-saw), lets say Skinny Kid is on the left, Fat Kid on the right. (Can I say Fat kid?). The pivot is in the middle, C of M is to the right-of-middle.
If the planet is accelerating up, the force is applied to the pivot, which is left of the C of M.
If Earth's Gravity is applying a down-force to the C of M, the reaction is felt upwards at the pivot, which is, again, left of the C of M.
Either way, the 2 forces are not aligned so the outfit rotates clockwise until Fat Kid's butt hits the planet, at which time, C of M is now supported by the pivot and his butt; stability restored.
Gravity? Acceleration? Doesn't matter.