Written by Anonymous
.article h2 { position: relative; display: table; padding: 0 55px; margin-left: auto; margin-right: auto; } .article h2:before, .article h2:after { content: ''; position: absolute; top: 50%; display: inline-block; width: 45px; height: 2px; border-top: solid 1px black; border-bottom: solid 1px black; } .article h2:before { left:0; } .article h2:after { right: 0; }