In Less, it seems almost impossible to use @font-face selector. Less gives errors when I try to use
@font-face
font-family: my_font
Her
I think it's because you are missing the font format. Which for ttf is truetype, if it's missing or incorrect the font might not be loaded.
ttf
truetype
@font-face { font-family: "MyFont"; src: url("./my-font.ttf") format("truetype"); }