$(".tag_add").css("background","#ffffff"); $(".tag_add").css("color","#000000"); $(this).css("background","#1f7ff3"); $(this).css("color","#ffffff");