html - How to target specific text content in a paragraph which contains multiple line breaks? -


so here weird thing clueless on..

below sample snippet of html,

<p>this paragraph <br><br> 2 weird line breaks <br><br> , twice!</p> 

now issue is, want apply css text this paragraph or content after first-double line breaks.

i tried br + br or nth-selectors, css selectors think of, didn't worked out.

tricky part is, not want javascript, or else have done accompanied 'complexity'.

any hints or solution problem css only!!

thanks!

you adding in html. dont think there css specific way this.

<p><span id="snippet">this paragraph </span><br><br> 2 weird line breaks <br><br> , twice!</p>

then apply css this

#snippet{ //css styles go here } 

Comments

Popular posts from this blog

python - How to create jsonb index using GIN on SQLAlchemy? -

PHP DOM loadHTML() method unusual warning -

c# - TransactionScope not rolling back although no complete() is called -