This is what I have right now but I need to adjust the gap of the two lines on the header with each other so it may look like the horizontal rule at the bottom.
Thing is when I adjust it at make it border-top: 5px double black;
, it makes the lines thick when I need it to only be separated more and keep it thin.
Here's my HTML:
<h4><span>Sample sample sample</span></h4>
<p>lorem ipsum</p>
<hr>
Here's my CSS:
h4 {
width: 100%;
text-align: center;
border-top: 4px double black;
height: 10px;
line-height: 0.1em;
margin: 30px 0;
font-size: 29px;
span {
background-color: white;
padding: 0 10px;
}
}
hr {
border-bottom: 1.5px solid black;
border-top: 1.5px solid black;
border-left: none;
border-right: none;
height: 10px;
}
And here's a fiddle for it.