How to add a fixed position for mobile

I received an email from linkedin on gmail that had a fixed position at the bottom which showed up only on the mobile which blew my mind. Unfortunately, gmail striped out all the media query code, so I couldn't really check the coding. So I googled it and found an two years old article from Campaign Monitor, but when I tested it out, it didn't work.

Here is the linkedin screen shot:

Any suggestion on how to use fixed positioning on mobile email?

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free