Usually these animations consist of flat image sequences, that are not responsive to different screen sizes, unless you render mulitple versions. Together with the developers over at Think Pixellab we pushed the boundaries and created PNG sequences with transparencies.
Separating the sole layer from the background and the text, enabled the developers to create fully responsive layouts for any device.