Aligning line made with CSS

enter image description here

I’ve used CSS to create titles with a double line running from the right had side of the title but am struggling to figure out how to get the right hand side of the lines to line up.

The CSS I’ve used looks like this:
span.fancy:after {
content: "";
position: absolute;
height: 5px;
border-bottom: 1px solid #777272;
border-top: 1px solid #777272;
top: 0;
width: 35em;
margin-top: .35em;
margin-left: 15px;
}

The page I’m working on can be found here:
https://diviplayground.com/bkia/

Read more here: Aligning line made with CSS

Leave a Reply

Your email address will not be published. Required fields are marked *