css - Google webfonts - is there a way to @import instead of <link> embed? -


working on website client - long story, i'm not allowed edit markup, include override stylesheet , make tweaks through there.

i need import google font, because of requirement can't use normal embed method. there way @import google font inside stylesheet?

edit: clarify, i've added following code 0 success (returns 404):

@import url(http://fonts.googleapis.com/css?family=open+sans+condensed:300,700,300italic);

sure. if have access style sheets add code generated google url directly.

this google generated url font "dancing script": http://fonts.googleapis.com/css?family=dancing+script paste in browser address bar , shown code need place in css file.

see fiddle: http://jsfiddle.net/david_knowles/xvmzf/3/

@font-face {     font-family: 'dancing script';     font-style: normal;     font-weight: 400;     src: local('dancing script'), local('dancingscript'), url(http://themes.googleusercontent.com/static/fonts/dancingscript/v3/dk0etgxizjn6ya8zaeym2bdh3ri20ryh10b2w3wbveu.woff) format('woff'); }   {font-family: 'dancing script',serif,cursive;} 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -