@font-feature-values "Demo Serif" {
  @swash {
    fancy: 1;
  }
}

.sample {
  font-family: "Demo Serif", Georgia, serif;
  font-variant-alternates: swash(fancy);
  margin: 0;
  color: black;
  background: white;
}