Read the story
Imagine the job. You stand atop a basalt hillside, asked not to build a temple but to find one inside the stone, and cut away everything else.
That is how Cave 16 at Ellora was made. Its carvers started at the top of the rock and worked downward, freeing a temple to Shiva from the cliff. By one common estimate, about 200,000 tonnes of stone came out. What remains is a courtyard 82 meters long and 46 wide, with a sanctuary rising 32.6 meters above its floor, all of it once part of the hill.
Tradition credits the Rashtrakuta king Krishna I, who ruled from about 756 to 773. No dedication survives at the temple. Instead, a copper plate from around 812 describes a king who built a temple so wondrous that even the gods, and the architect, were astonished. Most scholars read that as Kailasa, though some argue it was begun earlier and extended later. The scholar M. K. Dhavalikar concluded most of it was Krishna's work, and reckoned 250 laborers could have cut it in about five and a half years.
Around the base, the whole temple seems to ride on carved elephants. Under the southern porch is its most celebrated scene: Ravana, crouched beneath Mount Kailasa, straining to uproot it. Above him, Parvati leans toward Shiva, and an attendant runs in fright. In the myth, Shiva simply pressed down with his big toe and trapped him there.
Centuries later, a text called the Katha-Kalpataru told its own origin story. A queen vowed to build a temple if her ailing king was cured, and to fast until she saw its tower. An architect named Kokasa promised she would see one within a week, because he would start at the top.
It is only a legend. But it explains the method perfectly: the fastest way to show a queen a tower is to carve the mountain down to it.