<div class="triangle triangle-0"></div>
<div class="triangle triangle-1"></div>
<div class="triangle triangle-2"></div>
<div class="triangle triangle-3"></div>
<div class="triangle triangle-4"></div>
<div class="triangle triangle-5"></div>
*,
*:before,
*:after {
  box-sizing: border-box;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  padding: 40px;
  background-color: rgb(255,80,100);
  text-align: center;
}
.triangle {
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
}
.triangle-0 {
  width: 60px;
  height: 60px;
  border-bottom: solid 30px rgb(200,30,50);
  border-right: solid 30px rgb(200,30,50);
  border-left: solid 30px transparent;
  border-top: solid 30px transparent;
}
.triangle-1 {
  width: 60px;
  height: 60px;
  border-bottom: solid 30px rgb(200,30,50);
  border-left: solid 30px rgb(200,30,50);
  border-right: solid 30px transparent;
  border-top: solid 30px transparent;
}
.triangle-2 {
  width: 30px;
  height: 60px;
  border-right: solid 30px rgb(200,30,50);
  border-bottom: solid 30px transparent;
  border-top: solid 30px transparent;
}
.triangle-3 {
  width: 30px;
  height: 60px;
  border-left: solid 30px rgb(200,30,50);
  border-bottom: solid 30px transparent;
  border-top: solid 30px transparent;
}
.triangle-4 {
  width: 60px;
  height: 30px;
  border-bottom: solid 30px rgb(200,30,50);
  border-left: solid 30px transparent;
  border-right: solid 30px transparent;
}
.triangle-5 {
  width: 60px;
  height: 30px;
  border-top: solid 30px rgb(200,30,50);
  border-left: solid 30px transparent;
  border-right: solid 30px transparent;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.