CodePen

HTML

            
              
<div class="triangle topleft"></div>
<div class="triangle topright"></div>
            
          
!

CSS

            
              
.triangle{width:0px;margin:auto;}
.topleft{border-top:150px solid blue;border-right:150px solid transparent;}
.topright{border-bottom:150px solid blue;border-left:150px solid transparent;margin-top:-150px;}
            
          
!

JS

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