I have this HTML structure:
<br>
<br>
<blockquote>
I want to select with CSS the <br>
element that goes just before the <blockquote>
only when they go one after the other.
I'm trying with:
br + blockquote ~ br {//estilos}
But it does not work for me. If it were the other way around there would be no problem because it would serve me with a blockquote + br
. I am following the rules of CSS selectors .