CodePen

HTML

            
              <h3>Title Example Text For so_dathappened</h3>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              body {
  text-align: center;
}
h3 {
  position: relative;
  display: inline-block;
  margin: auto;
}
h3:before, h3:after {
  content: "";
  position: absolute;
  top: 10px;
  width: 150px;
  height: 1px;
  padding: 1px 0;
  border-top: 1px solid red;
  border-bottom: 1px solid red;
  background-clip: content-box;
  background-color: red;
}
h3:before {
  left: -170px;
}
h3:after {
  right: -170px;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................