I would like to achieve a similar look to this design.
https://i.sstatic.net/p1hq4.png
hr {
border: none;
color: black;
background-color: black;
height: 5px;
margin-top: 10px;
}
<div class="row code-line">
<div class="col-5">
<div class="line-left">
<hr>
</div>
</div>
<div class="col-1">
<i class="fa fa-code fa-2x" aria-hidden="true"></i>
</div>
<div class="col-5">
<div class="line-right">
<hr>
</div>
</div>
</div>
(fa-code is Font-Awesome icon)
Codepen: https://codepen.io/Oktocorp/pen/yMxpwX?editors=1100
I'm unsure how to create symmetry and responsiveness in the design (i.e., resizing long lines should make them smaller). Perhaps utilizing flexbox could be beneficial?