General Sibling Selector

The general sibling selector (~) selects all elements that are next siblings of a specified element.

Paragraph 1.

Paragraph 2.

Paragraph 3.

Some code.

Paragraph 4.

When using this style with a CSS file, both the CSS file and the internal style needs to be modified by using classes to prevent unexpected results.