Expanding button/slide container solution?

Hi all

I’m wondering the best way/code to slide open a button to reveal a small snippet of content, probably inside a div.

As shown in the image attached.
The different anchor text just example.

Maybe a small snippet of JS, jquery or even CSS3 transforms?
Any examples of code or best solution for this sort of thing?

Thanks, Barry