可能我的CSS知识有限,但是我不懂这个:
- <p style="color: green">
- <p style="color: red">This is red</p>
- This should be green. But it's not.
- </p>
第二行将以黑色呈现,忽略“颜色:绿色”.为什么?
我在Chrome 28和Firefox 22中进行了测试.