Questions & Answers about De niña era muy tímida y casi no hablaba en clase.
Literally, "De niña" means "as a girl" or "when (I was) a girl".
The preposition "de" in this structure is very common in Spanish to talk about someone’s stage in life or role at a certain time:
It doesn’t mean "of" in the usual possessive sense here; it functions more like English "as" or "when I was".
They are very close in meaning, and in most contexts you can use either:
Both mean "When I was a girl, I was very shy…"
Nuance:
- De niña is a bit shorter and often sounds more conversational and fluid.
- Cuando era niña is slightly more explicit and literal, focusing on the time clause "when I was a girl".
In everyday speech in Spain, "De niña" / "De pequeño/a" is extremely common.