Forum Discussion
karlsandin
9 years agoRegular Visitor
Import custom local font?
I am trying to import a local font but I keep on getting a console error: "@font-face failed cross-origin request. Resource access is restricted." Is it possible at all to import a custom fon...
- 9 years ago
Google "Access-Control-Allow-Origin" to learn more about this issue. Instead, you may use Google Fonts.
Friso
8 years agoFrequent Visitor
Hello,
How and where can I import the code beneath?
And is it not possible yet to use is alwasy (one import or for each visual a seperate import?)
@import (less) url('https://fonts.googleapis.com/css?family=Roboto');
body {
font-family: 'Roboto', sans-serif;
}Friso
v-viig
8 years agoCommunity Champion
Please write a valid CSS code to import Roboto Font from Google's servers.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals