Animate content

Okay. I spent about half an hour looking for that tutorial (if it exists). How do you animate OUT the content when a button is clicked or released? And then animate IN the content of the button that is being clicked? Most templates are like that and I would like to learn how to do it. I would greatly appreciate a path to that tutorial.

Thank you