$("input").css("background-color","red");
参考:https://zhidao.baidu.com/question/937730320538387052.html