'what is the "+" meaning in css selector [duplicate]

thanks in advance,recently I'm learning scrapy and I don't what is the "+" meaning ,here is my codeenter image description here



Solution 1:[1]

https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_combinator

it means Adjacent sibling combinator.

div + p {
  color: red
  }
<body>
  <div>div</div>
  <p>p1</p>
  <p>p2</p>
</body>

you can run the code snippet, then you will find only the first paragraph is red, just because it is adjacent sibling of div element. Meanwhile the second paragraph is not red.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Regis Emiel