extending @font-face declaration from external css file -


I am using a web-font that has been declared with @ font-face in the external CSS file. The font service is set up in such a way that I make the external CSS file source and then just use the font in my CSS. I can not source the font file in my own @ font-face definition

Every time I use webfonts on my site, I add the same two style definitions. Therefore, my font usage always looks something like this:

  h2 {font-family: 'Knockout 26A'; -webkit-font-smoothing: antialiage; -Moz-OSX-font-smoothing: grayscale; }  

Each time I use fonts, I am unnecessarily feeling redundant if I use fonts; I want to have an @ font-face announcement from external files in my own CSS Is there any way to expand?

Thank you!

It is not possible to extend a @font-face declaration @ Font-face according to font-family and src descriptor is required or the declaration is invalid

  • Unicode-category
  • Font-variant

  • Font-Feature-Settings
  • Font-Stretch
  • Font-Weight
  • Font-style
  • so you can either webkit-font-smoothing or moz-osx-font-smoothing by the way Will not even be able to use

    I recommend using a CSS preprocessor to cut or cut on the terminology of CSS. But if you can not use them, you will have to write your CSS announcements at present.


    Comments

    Popular posts from this blog

    java - org.apache.http.ProtocolException: Target host is not specified -

    java - Gradle dependencies: compile project by relative path -

    ruby on rails - Object doesn't support #inspect when used with .include -