I need to target every contiguous <br>
in css. Lemme explain. In my piece of code i have attached you can see one <br>
tag. Then comes the text. After that three <br>
tag then comes the text and it goes on.
My question is there is any css selector to select when there is continuous range of <br>
is present. When there is three continuous <br>
tag i want to select second and third <br>
tag. When there is four continuous <br>
tag i want to select second, third, fourth <br>
tag. Any ways to achieve it with CSS
div br:not(:first-child){
margin-top:10px;
}
<div>
how can i select a DOM
<br>
which comes next to next
<br>
<br>
<br>
Any Idea please suggest
<br>
<br>
Thanks
</div>
` tag in making new line instead of `
– Undecided Dev Oct 31 '16 at 07:12`
` tag using CSS SELECTOR? – Undecided Dev Oct 31 '16 at 07:18
` in a `
` using CSS selectors that's why i'm suggesting to use `
` tag.
– Undecided Dev Oct 31 '16 at 07:22