Answer the question
In order to leave comments, you need to log in
Where is the error in the CSS code?
Base64 font - from input and reader.readAsDataURL()
I don't understand where the error is.
However, in a mobile browser it works fine, but on a desktop it does not work -
poppy firefox 48.0.2
<style type="text/css">
@font-face {font-family: 'foo'; src: url('data:application/octet-stream;base64,d09GRgABAAAAAIBgABEAAAABB...') format('woff'); font-weight: normal; font-style: normal;}
</style>
<style type="text/css">
#ID
{
font-family: "foo";
}
</style>
</head><body> //стили в голове
<span id="ID">Текст</span>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question