I have this CSS code that only displays one color (blue) when there\'s a mouse hover.
.MenuBox {
transition: all 1.0s ease;
-moz-border-radius:30px;
I believe you will need jQuery to do this,
JS
function startAnimation(o) {
var hue = 'rgb('
+ (Math.floor(Math.random() * 256)) + ','
+ (Math.floor(Math.random() * 256)) + ','
+ (Math.floor(Math.random() * 256)) + ')';
$(o.currentTarget).animate( { color: hue }, 500, function() {
startAnimation(o);
});
}
$(document).ready(function() {
$('a').hover(
startAnimation,
function() {
$(this).stop().animate( { color: '#000' }, 500);
}
);
});