<p class="border">見出し</p> 
.border {
  border-top: 3px #3D464C solid;
  border-bottom: 3px #3D464C solid;
  padding: 10px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.