<ul>
  <li><span class="arrow arrow-top"></span></li>
  <li><span class="arrow arrow-right"></span></li>
  <li><span class="arrow arrow-bottom"></span></li>
  <li><span class="arrow arrow-left"></span></li>
  <li><span class="arrow arrow-top-narrow"></span></li>
  <li><span class="arrow arrow-top-wide"></span></li>
</ul>
<ul>
  <li><span class="arrow arrow-top-left"></span></li>
  <li><span class="arrow arrow-top-right"></span></li>
  <li><span class="arrow arrow-bottom-left"></span></li>
  <li><span class="arrow arrow-bottom-right"></span></li>
</ul>
ul {
  margin: 1em 2em;
  text-align: center;
  list-style: none;
}
ul + ul {
  margin-top: -1em;
}
ul li {
  display: inline-block;
  margin: 30px;
}

/* arrow common style */
.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
}

.arrow-top {
  border-bottom-color: #000;
}
.arrow-right {
  border-left-color: #000;
}
.arrow-bottom {
  border-top-color: #000;
}
.arrow-left {
  border-right-color: #000;
}
.arrow-top-narrow {
  border-bottom: 30px solid #000;
}
.arrow-top-wide {
  border-top: 15px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 15px solid #000;
  border-left: 30px solid transparent;
}
.arrow-top-left {
  border-top: 15px solid #000;
  border-left: 15px solid #000;
}
.arrow-top-right {
  border-top: 15px solid #000;
  border-right: 15px solid #000;
}
.arrow-bottom-left {
  border-bottom: 15px solid #000;
  border-left: 15px solid #000;
}
.arrow-bottom-right {
  border-bottom: 15px solid #000;
  border-right: 15px solid #000;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.