-2

I need to have '@font-face' in my style section at my razor page. However the at sign (@) performs a problem for the razor. Any idea how to solve this?

Thanks a lot.

tereško
  • 58,060
  • 25
  • 98
  • 150
dsb
  • 2,347
  • 5
  • 26
  • 43

1 Answers1

0

See this answer : Escape @ character in razor view engine.

You have to escape it with : @@

Community
  • 1
  • 1
Samuel Caillerie
  • 8,259
  • 1
  • 27
  • 33