css - How to use google font offline line in polymer? -


i want use google font locally, not online. how can done in polymer? know polymer not support font-face. has 1 done before?

do via <link> tag. example:

<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=open+sans"/> 

then can use font-family: "open sans", sans-serif;

edit: or, if insist on local (which don't recommend), can copy css code url of font , paste in own code. however, way more difficult , not speed-efficient.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -