JSFiddle - React, Tailwind, and code Playground

HTML

<div id="container">
    <h1><span>Heading</span></h1>
    <p>Change text shorter or longer.</p>
    <p>Need left lines to be dynamic.</p>
</div>

CSS

#container {
    width: 1000px;
    border: 1px solid #eee;
}

h1 {
    text-align: center;
    position: relative;
    overflow: hidden;
}
h1 span {
    background: url('https://dl.dropboxusercontent.com/u/101534624/arrow_cyan.gif') no-repeat left, url('https://dl.dropboxusercontent.com/u/101534624/arrow_cyan.gif') no-repeat right;
    padding: 0 50px;
}
h1 span:after {
    content: "";
    background: url('https://dl.dropboxusercontent.com/u/101534624/h1-lines.png') repeat-x;
    min-width: 400px;
    height: 6px;
    position: absolute;
    top: 15px;
    margin-left: 60px;
}
h1 span:before {
    content: "";
    background: url('https://dl.dropboxusercontent.com/u/101534624/h1-lines.png') repeat-x;
    min-width: 400px;
    height: 6px;
    position: absolute;
    top: 15px;
    left: -20px;
}