Select first occurring element after another element

后端 未结 5 1521
时光取名叫无心
时光取名叫无心 2020-12-01 03:33

I\'ve got the following HTML code on a page:

Some text

Some more text!

In my .css I\

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 03:59

    #many .more.selectors h4 + p { ... }
    

    This is called the adjacent sibling selector.

提交回复
热议问题