Watch Ansel Elgort Dance Through the Years, From the Charleston to the Nae Nae

Ansel Elgort
Jemal Countess/Getty Images

Ansel Elgort attends the opening night of "Finding Neverland" at Lunt-Fontanne Theatre on April 15, 2015 in New York City. 

Ansel Elgort can do more than act or DJ -- he can dance too. 

The Fault in Our Stars actor danced through the decades for the September Teen Vogue cover shoot, and got to show off his flashy moves and some interesting costumes.

Ansel Elgort Talks Making 'Groovy House Music' as a DJ and Battling With Credibility

He does everything from the Charleston to the Nae Nae, but he's truly a professional at his '80s hip-hop moves.

"I learned a little bit out in the cafeteria where I went to high school," Elgort says. His favorite music to dance to is house music. Elgort creates mixes in his free time and has even played major EDM festivals such as Ultra Music Festival and Electric Zoo under the stage name Ansolo. He also has a background as a trained ballet dancer.

Check out Elgort drop it like it's hot here: