svg {
  display: block;
  background: white;
  border: 1px solid silver;
}

.tri {
  fill: #2a7a4b;
  d: path("M20 80 L90 15 L160 80 Z");
}