Javascript has an incredibly helpful native method, getBoundingClientRect().
Animating the Unanimatable.
Joshua Comeau

That’s the exact method we use when writing smooth image zooming plugins like the one used in Medium.

Below is my own implementation:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.