General Sibling Selector

//the following example selects all <p> elements that are siblings of <div> elements

div ~ p {
  background-color: yellow;
}

Selects all elements that are siblings of a specified element.

Related concepts

General Sibling Selector

General Sibling Selector — Structure map

Clickable & Draggable!

General Sibling Selector — Related pages: