How to target a specific

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

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

6条回答
  •  星月不相逢
    2021-02-08 21:08

    div > img:first-child {/*the first image*/}
    div > img:last-child {/*the last image*/}
    

    That should do it.

提交回复
热议问题