What is syntax for selector in CSS for next element?

This is called the adjacent sibling selector, and it is represented by a plus sign…

h1.hc-reform + p {
  clear:both;
}

Note: this is not supported in IE6 or older.

Leave a Comment