Please see the JSFddle - http://jsfiddle.net/ww2010ku/ . below is the jQuery code -
$("#x").click(function () {
$(this).animate({
"height": "45px",
"width": "45px"
}, 100);
$(this).addClass("lg");
});
I have 2 questions. 1) Why on click does the blue border show up though I have done border: none. 2) Why doesn't the "lg" class take precedence and show up green color button since red would ideally be the color set first and then green which comes as the last rule and take precedence.