CodePen

HTML

            
              <!-- TAB TEMPLATE -->
<svg>
  
  <path id="tab-shape" d="M116.486,29.036c-23.582-8-14.821-29-42.018-29h-62.4C5.441,0.036,0,5.376,0,12.003v28.033h122v-11H116.486
			z">
  
</svg>
            
          
!

CSS

            
              body {
  padding: 1rem;
}
            
          
!

JS

            
              
            
          
!
999px
Loading ..................