CSS Limerick

This is my CSS homework;
It made me just somewhat berserk.
This link should change hue
(I chose a nice blue)
If over it, your mouse does lurk.

I used "span:after" to display,
Its scheme of A-A-B-B-A.
Yet not in IE,
So I must agree
For once using Firefox does pay.