2<div class="triangle-demo"></div>
<div class="triangle-top"></div>
<div class="triangle-right"></div>
<div class="triangle-bottom"></div>
<div class="triangle-left"></div>

<div class="arrow-demo"></div>
<div class="arrow-top1"></div>
<div class="arrow-right1"></div>
<div class="arrow-right2"></div>
<div class="arrow-bottom1"></div>
<div class="arrow-bottom2"></div>
<div class="arrow-left1"></div>
<div class="arrow-left2"></div>
<div class="arrow-top2"></div>
div {
  margin: 0 auto;
  margin-bottom: 20px;
}

.triangle-demo {
  width: 0;
  height: 0;
  background: transparent;
  border-top: 20px solid #EE7C31;
  border-left: 20px solid #F5D97B;
  border-bottom: 20px solid #D94948;
  border-right: 20px solid #8DB434;   
}

.triangle-top {
  width: 0;
  height: 0;
  margin: 0 auto;
  background: transparent;
  border-top: 20px solid #EE7C31;
  border-left: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid transparent;   
}

.triangle-right {
  width: 0;
  height: 0;
  margin: 0 auto;
  background: transparent;
  border-top: 20px solid transparent;
  border-right: 20px solid #8DB434;
  border-bottom: 20px solid transparent;
  border-left: 20px solid transparent;
}

.triangle-bottom {
  width: 0;
  height: 0;
  margin-bottom: 10px;
  background: transparent;
  border-top: 20px solid transparent;
  border-left: 20px solid transparent;
  border-bottom: 20px solid #D94948;
  border-right: 20px solid transparent;   
}

.triangle-left {
  width: 0;
  height: 0;
  margin-bottom: 10px;
  background: transparent;
  border-top: 20px solid transparent;
  border-right: 20px solid transparent;  
  border-bottom: 20px solid transparent;
  border-left: 20px solid #F5D97B;
}

.arrow-demo {
  width: 20px;
  height: 20px;
  background: transparent;
  border-top: 4px solid #EE7C31;
  border-left: 4px solid #F5D97B;
  border-bottom: 4px solid #D94948;
  border-right: 4px solid #8DB434; 
}

.arrow-top {
  width: 20px;
  height: 20px;
  background: transparent;
  border-top: 4px solid #EE7C31;
  border-right: 4px solid #8DB434;
  /* 回転 */
  transform: rotate(-45deg);
}

.arrow-right1 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-top: 4px solid #EE7C31;
  border-right: 4px solid #8DB434;
  /* 回転 */
  transform: rotate(45deg);
}

.arrow-right2 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-right: 4px solid #8DB434;
  border-bottom: 4px solid #D94948;
  /* 回転 */
  transform: rotate(-45deg);
}

.arrow-bottom1 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-right: 4px solid #8DB434;
  border-bottom: 4px solid #D94948;
  /* 回転 */
  transform: rotate(45deg);
}
.arrow-bottom2 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-bottom: 4px solid #D94948;
  border-left: 4px solid #F5D97B;
  /* 回転 */
  transform: rotate(-45deg);
}

.arrow-left1 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-bottom: 4px solid #D94948;
  border-left: 4px solid #F5D97B;
  /* 回転 */
  transform: rotate(45deg);
}
.arrow-left2 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-top: 4px solid #EE7C31;
  border-left: 4px solid #F5D97B;
  /* 回転 */
  transform: rotate(-45deg);
}

.arrow-top2 {
  width: 20px;
  height: 20px;
  background: transparent;
  border-top: 4px solid #EE7C31;
  border-left: 4px solid #F5D97B;
  /* 回転 */
  transform: rotate(45deg);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.