The html would look like this? https://jsfiddle.net/ap1j7cev/
I am hesitant to use background again.
The last time I used background on the lines, I got different shades of orange.
I took a photo via mobile, and it was 2 different shades of orange.
Update: I just tested on codepen: this one use background seems fine.
<footer class="margin-top my-footer">
<ul class="footer-top">
<li><a href="#" target="_blank">something</a></li>
<li class="divider"><a href="#" target="_blank">something</a></li>
<li><a href="#" target="_blank"><span class="green-text">something</span><span class="orange-text">something</span></a></li>
</ul>
<div class="footer-mid">something</div>
<div class="footer-base">something</div>
</footer>
Using border: both lines came out looking the same:
position: relative;
top: 4px;
left: 0;
margin: 0 7.4px;
border: none;
height: 12px;
border-left: 1px solid #f6b26b;
This works also:
https://jsfiddle.net/png1sxLu/1/
.divider:before,
.divider:after {
content: "";
position: relative;
top: 4px;
margin: 0 7.4px;
border: none;
height: 12px;
border-left: 1px solid #f6b26b;
}
I can confirm on my mobile:
When this is used: https://jsfiddle.net/L7hy1r38/3/
There has to be something particular about this code why the two lines come out looking different.
.my-footer b {
width: 1px;
height: 12px;
background-color: #f6b26b;
position: relative;
top: 2px;
left: 0;
margin: 0 7.4px;
}
I am seeing this:
I tested on codepen and Github
When this is used: https://jsfiddle.net/nxjzuks8/
The two lines are normal looking.
.my-footer b {
position: relative;
top: 4px;
left: 0;
margin: 0 7.4px;
border: none;
height: 12px;
border-left: 1px solid #f6b26b;
}
Using background via mobile:
<span class="divider"></span>
I get this: