Complex sentence: She manages to get away, but the spell wears off at the final stroke of midnight, causing the animals and Ella's dress to revert to what they are before.
Split into simpler sentences: She manages to get away before the final stroke of midnight. The spell wears off, causing the animals and Ella's dress to revert to what they are before.