I’m trying to import some custom fonts for my JS calculator. I’m having trouble with doing this in codepen, I’m not sure where to host the font-file to be able to supply a direct link to the page? I’ve been getting this error in my console:
“Font from origin ‘https://www.dropbox.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://s.codepen.io’ is therefore not allowed access”
I was trying to host the file in drop box and it’s not working. Here’s a link to my codepen: http://codepen.io/nwright/pen/rrrPvZ
If anyone has experience hosting web fonts somewhere please help! Thank you guys!