@font-face declaration doesn't follow the fontspring bulletproof syntax

847 views Asked by At

I have been trying this code in CSS but it is giving me this error.

The Error:-

The Code is this:

Code:-

Directory:-

Directory:-

I can't figure it out how to solve this. Also it hasn't run in my webpage browser. I have used Chrome as well as Microsoft Edge but not run in both.

1

There are 1 answers

0
Prajwal Dhage On

The problem here was the font URL in the font-face. Replace line 3 with the below line.

src :url('../bebasNeue-Regulat.ttf')