Forum:Buttons that change colours when highlighted

Hello all,

How can I create a button that changes it's colour when you move your cursor over it? Like the six buttons here. --- Zantam03 ( Talk ) 22:03, December 17, 2011 (UTC)

or

This goes into MediaWiki:Common.css. Anything like this:  should then transition. 22:11, December 17, 2011 (UTC)


 * Thanks! --- Zantam03 ( Talk ) 22:21, December 17, 2011 (UTC)