This skill requires dramatic abdominal and hip flexor strength. Tight hamstrings and lower back will make this significantly more difficult. Sit on the floor in an upright position with straight legs. Place your hands on the floor by your hips. Lean forward and press down hard as you pull your feet off the ground.
If you aren’t able to sit with your legs extended due to tight hamstrings you can also attempt this with bent knees.