79444577

Date: 2025-02-17 06:37:59
Score: 2.5
Natty:
Report link

Please check this, it's working in reverse order (selecting the

.one:has(+ .two) {
background: red;
}

.one:has(+ .two) .one-child {
background: yellow;
}
<div class="one">I am div 1, a target 
  <p class="one-child"> I am child of one </p>
</div>

<div class="two">I am div 2, a selector </div>

https://codepen.io/sanjuravinder/pen/LEYpRme

Reasons:
  • Blacklisted phrase (1): Please check this
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ravinder Singh