There is a selector A ~ B {style} - a selector of generalized related elements that changes element B if there is a selector A in front of it. How can I make a reverse selector that changes selector A, if after it there is a selector B?

    1 answer 1

    Unfortunately, only with the help of JavaScript, with the help of CSS this can not be done ((