somascope
2/12/2020 - 10:11 PM

SVG icon in SVG

.icon {
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-size: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.icon-incorrect {
  background-image: url(../../resources/scorecard/incorrect-icon.svg);
}