JSFiddle - React, Tailwind, and code Playground
by xaliber
HTML
<hr>asdasdasda</hr>
<hr />
<br /><br />-------------<br /><br />
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<div style="padding:2px;">
<p>death to the traitor! death to the traitor! death to the traitor! death to the traitor! death to the traitor!
<img src="http://upload.wikimedia.org/wikipedia/en/thumb/3/3e/Robotics%3BNotes_cover.png/250px-Robotics%3BNotes_cover.png" />
<span id="great">death to the traitor!</span> death to the traitor! death to the traitor! death to the traitor! death to the traitor!
</p>
<section>
<p>what the hell in mankin
</p>
</section>
</div>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
<p>content herecontent herecontent here content here content here content here content here content here content here content here content here</p>
CSS
hr { display:block;width:300px;margin:10px auto;height:50px;border:1px solid #000;overflow:auto;background:#eee; }
hr:after { content:"content here content herecontent herecontent herecontent herecontent herecontent herecontent herecontent herecontent herecontent here"; }
hr:before { content:"anotheranotheranotheranotheranotheranother anotheranotheranotheranotheranotheranother anotheranotheranotheranotheranotheranother anotheranotheranotheranotheranotheranother anotheranotheranotheranotheranotheranother anotheranotheranotheranotheranotheranother "; }
p { margin-bottom:1.5em; }
p + hr { height:1px;border:0;border-top:1px solid #000;overflow:auto;background:#ccc; }
div[style="padding:2px;"] > p:first-child:hover img + #great {
font-size:20px; font-weight:bold;
}
section { margin:0 60px; }
JavaScript
$("p").after("<hr />");