To expand on previous answers, the .removeClass and .addClass functions don't have timing associated with them. You will need to animate the css manually if you want a class-to-class animation.
Here's an example:
CSS
.div-input{
color: red;
width: 200px;
}
.div-input-second{
color: blue;
width: 300px;
}
jQuery
$(".div-input").click(function () {
$(this).animate({
color: '#0000ff',
width: '300px'
}, 1800).removeClass("div-input").addClass('div-input-second');
});
This should cause the animation to occur, and then swap the classes after the animation finishes, so you can do more with that class name if you need to.
edit:
See this jsfiddle for a working demo using .click. I'm not positive .blur has a noticeable effect on div elements.
edit 2:
A simple effect to fade an element out, swap classes and then fade it back in might look something like this (using the same css as above):
jQuery
$(".div-input").click(function () {
$(this).fadeOut(900, function(){
$(this).toggleClass("div-input div-input-second")
.fadeIn(1800);
})
});
You can see this in action at this updated jsfiddle.