How to target a specific

前端 未结 6 758
北恋
北恋 2021-02-08 20:27

I\'ve a code of some what like this:

6条回答
  •  清酒与你
    2021-02-08 20:52

    #foo > IMG:first-child {/* first of two IMGs */}
    #foo > IMG + IMG       {/* second one */}
    

    Works in all browsers including IE7+.

提交回复
热议问题