CSS General Sibling Combinator in action
PLAIN TEXT CSS: #indirect-example1 h4 + p,#indirect-example2 h4 ~ p { background-color: #CCC; color: #F00;} Eric Wendelin has taken a look at the general sibling combinator shown above as: PLAIN TEXT CSS: h4 ~ p {} This would affect each <p> element that is a sibling of a preceding <h4> element. This is different from the Adjacent Sibling Combinator (+) in [...]
More: continued here

Leave a Reply
You must be logged in to post a comment.