Re:Stripe Elements: Pre-built UI components to help you crea...
by athyuttamre on Tuesday October 03, 2017 @07:58PM
(#15397271)
It's all CSS animations!
[ Parent
| on HN ]
Re:Stripe Elements: Pre-built UI components to help you crea...
by kumaraman on Tuesday October 03, 2017 @09:58PM
(#15397748)
I am very curious to how exactly they made these animations!
Surely they didn't hand type all of the transforms.
I see a lot more of similar animations appearing on the internet.
Are there tools that people use to help with the animations?
Re:Stripe Elements: Pre-built UI components to help you crea...
by afloatboat on Wednesday October 04, 2017 @04:22AM
(#15399014)
Most tools put out a lot of unnecessary code and often rely on JavaScript, so my guess would be that this is handwritten. The animation consists of three phases for each element, which they reordered using pixel value transforms. The background containers are fixed in place and the opacity is changed depending on stage 1/2/3.
To ensure them not having to adjust any values for smaller devices, they scaled the parent element to fit the browser size. Time consuming, but the best way to get the performance you need.
Re:Stripe Elements: Pre-built UI components to help you crea...
by Cenk on Wednesday October 04, 2017 @01:47AM
(#15398521)
I’ve used BounceJS in the past: http://bouncejs.com
Re:Stripe Elements: Pre-built UI components to help you crea...
by indexerror on Tuesday October 03, 2017 @11:32PM
(#15398097)
It can be done using Adobe After Effects and the Bodymovin plugin.
Re:Stripe Elements: Pre-built UI components to help you crea...
by squiggy22 on Wednesday October 04, 2017 @01:22AM
(#15398438)
..except you will end up with a 300kb js file and a massive Json file. Whilst this plugin generates magic your speed suffers with it.
Re:Stripe Elements: Pre-built UI components to help you crea...
by corford on Wednesday October 04, 2017 @10:20AM
(#15400605)
http://animista.net/ is quite handy for quickly putting something together.