I have been trying to change my fonts using font-face rule but it isn't working. It keeps showing "@font-face declaration doesn't follow the fontspring bulletproof syntax" everytime. I have gone through the web but haven't found any right solution? Here is my code:
@font-face {
font-family: "MyFont";
src: url(fonts/Benne-Regular.ttf) format("truetype");
}
h1 {
font-family: "MyFont";
}
What should i do?