div + p is an adjacent sibling selector. div and p are at the same level. At the same time, the back of the div is p, which is the back, not the front.

Guess you like

Origin blog.csdn.net/Frank_colo/article/details/132754323