え。
$("div#target").prev().css("color", "red");
$(セレクタ).css(??) と書く時,セレクタ内に疑似クラスを含めるはずですが。・・・そういう話ではないのですか?