I'm looking to add 3 buttons that can toggle between displaying and hiding text. When a button is clicked, it should shrink in size and move to a new position, allowing the text to be shown at the original location of the button. Here's an example:
jsfiddle.net/dRpWv/1/
The functionality to toggle show/hide text is already in place. The challenge now lies in implementing the function to change the button's CSS when clicked.