Errors on @font-face CSS declaration

Let's say I do this in a CSS file:

@font-face {
   font-family: Treefrog;
   src: url('/Content/Fonts/treefrog.eot'); /* IE */
   src: local('Treefrog'), url('/Content/Fonts/treefrog.ttf') format("truetype"); /* non-IE */
}


This is how the @font-face declaration is supposed to be written, but ReSharper complains about the "local" and "format" declarations.

5 comments

it was fixed, try to use next nightly build

0


Still getting

Function 'local' doesn't exist in CSS 3.0

Function 'format' doesn't exist in CSS 3.0

with build 2151

0

Buld 2152 contains my fixes for it

0

I will try it as soon as it's available, thanks!

0

Please sign in to leave a comment.