Unable to document @font-face
See original GitHub issueI’m distributing font declerations and I’d like them documented. I would like to see SassDoc document the following:
/// Basic Font Family
@font-face {
font-family: 'My Font';
src: ulr('font/path.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
Instead of pulling it out and documenting it like everything else, it simply is ignored entirely.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
css - @font-face not working - Stack Overflow
@font-face not working · Check your resources tab in the inspector/firebug to make sure your fonts are being loaded correctly. · Just a...
Read more >FontFace.load() - Web APIs - MDN Web Docs
Indicates that the attempt to load the font failed. Examples. This simple example loads a font and uses it to display some text...
Read more >How to use @font-face in CSS
If all the fonts have licenses that allow them to be used online, there's no reason you can't use them. Go to FontSquirrel...
Read more >225790 – document.fonts.ready is sometimes still resolved too ...
Namely, if all @font-face rules are defined in an external CSS resource, then there is no CSS-connected FontFace object at the time of...
Read more >How To Load and Use Custom Fonts with CSS | DigitalOcean
Lastly, you will load a self-hosted font family using the @font-face ... local font if the browser is unable to load the files...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @steffenpedersen, yes I think so. We should really allow this.
@blackfalcon No doubt your PR will fill this antediluvian blank 😉