Animated button

How do you make animated buttons?