To target a CSS element after another one, but not necessarily immediately after, with the same parent. 

Example (targetting every <p> elements after <div> elements and with the same parent)

div ~ p {


  • Difference with this variant is that the element does not have to be immediately after
  • CSS 3

See also



Keep Me Informed

Keep me informed of the latest extensions releases and offers. One email maximum per month.

Offer Me A Coffee!

If you like my work, offer me a coffee! Nick.