In 2013, they just wondered if there was a better way to achieve this. Is there a way to do this with just one element?
div.linetop { border-top: 1px solid #111111; } div.linebottom { border-top: 1px solid #292929; } // make a line <div class="linetop"></div> <div class="linebottom"></div>
Edit
This is what happens with HR, the first pixel is gray: / (im using chrome btw has no other browsers):
Tried both:
hr { border-top: 1px solid #111111; border-bottom: 1px solid #292929; }
and
hr { display: block; height: 0; padding: 0; border-top: 1px solid #111111; border-bottom: 1px solid #292929; }

Edit
I decided! Just adding a border: none before
hr { border: none; border-top: 1px solid #111111; border-bottom: 1px solid #292929; }
source share