CodePen

HTML

            
              <div class="page-wrap">
  <header>
    <div class="main-title">
      <div class="stripe stripe-left"></div>
      <h1 class="main-title">MAIN TITLE</h1>
      <div class="stripe stripe-right"></div>
    </div>
    <nav>
      <a href="#">Nav-Link1</a>
      <a href="#">Nav-Link2</a>
      <a href="#">Nav-Link3</a>
      <a href="#">Nav-Link4</a>
      <a href="#">Nav-Link5</a>
      <a href="#">Nav-Link6</a>
      <a href="#">Nav-Link7</a>
    </nav>
  </header>
</div>
            
          
!

CSS

            
              body {
  background: #333;
}

.page-wrap {
  width: 70%;
  min-width: 900px;
  margin: 30px auto 0 auto;
}

header {
  height: 200px;
  background: rgba(black, 0.4);
  @include border-radius(10px);
  padding: 30px 20px 0;
  box-shadow: 8px 8px 10px rgba(black, 0.7);
  margin-bottom: 20px;
  
  .main-title {
    margin: 20px 0;
    .stripe {
      position: relative;
      width: 28%;
      height: 39px;
      background: orange;
      float: left;
    }
    
    .stripe-left {
      &:after {
        content: "";
        top: 0;
        right: -9px;
        position: absolute;
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 39px 9px 0 0;
        border-color: orange transparent transparent transparent;
      }
    }
    
    .stripe-right {
      &:after {
        content: "";
        top: 0;
        left: -9px;
        position: absolute;
        width: 0px;
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 0 0 39px 9px;
        border-color: transparent transparent orange transparent;
      }
    }
    
    h1 {
      position: relative;
      float: left;
      width: 44%;
      color: #ccc;
      font-size: 40pt;
      text-align: center;
      padding: 0;
      margin: 0;
      line-height: .74em;
      letter-spacing: .1em;
    }
    
    &:after {
      content: "";
      display: table;
      clear: both;
    }
  }
}

nav {
  margin: 0 auto;
  text-align: center;
  > a {
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 600;
    color: #ccc;
    padding: 0 20px;
    display: inline-block;
    &:hover, &:focus {
      color: orange;
      text-shadow: 0px 0px 20px orange;
    }
  }
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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