How to use CSS first-child but excluding text content

后端 未结 4 1783
渐次进展
渐次进展 2021-01-19 01:38

This snippet doesn\'t work the way I expect:

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-19 02:13

    To not target the span if it's not the very first thing under its parent, just wrap the And as follows:

    • This is a test
    • And
      this is also a test
    • ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

提交回复
热议问题