With the exception of the text input field, I cannot understand why anyone wants to use HTML input.
This is a nightmare trying to style them in all browsers, and itβs much easier to create a normal div as a button and then use the jquery onClick function.
Like this: JSFIDDLE
$('.clickme').hover(function() { $(this).animate({"color":"#e8a010","font-size":"52pt"}, 1000); }, function() { $(this).animate({"color":"#fff","font-size":"13px"}, 1000); });
Why do people use buttons and then try to style them when they can just style the div? Is there any advantage? Did I miss something?
source share