 <p>CSS only solution</p> <pre><code>article { position: relative; } article:after { content: ''; position: absolute; width: 100%; height: 1px; // suit your need background: black; // suit your need top: 100%; left: 0; } </code></pre>