0 votes
1 view
in Web Technology by (107k points)

The plus sign (+) is for the next sibling.

Is there an equivalent for the previous sibling?

1 Answer

0 votes
by (47.7k points)

You can use ~ for general successor sibling but there is no "previous sibling" selector.  It means that the element comes after this one, but not necessarily immediately after.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...