下列()选项是把列表中的最后一个“li”的背景设置为蓝色。

7 查阅

下列()选项是把列表中的最后一个“li”的背景设置为蓝色。

A.ul〉libackground:blue;

B.ul〉li:last-childbackground:blue;

C.ul〉li:first-childbackground:blue;

D.ul〉li:only-childbackground:blue;

参考答案:

答案:B

超星尔雅学习通