Performance: Unrender elements after animations (transparency/translation...)

As in the title, I wonder if it would be possible to unrender (display:none) an element after an animation when the transparency hits 0.
Or after a transgform (e.g. self made sliders/containers where the elements transform inside a div with overflow:hidden).

Or is this not necessary because you are handling this anyway?