All work and no play makes Jack a dull boy

segunda-feira, 4 de agosto de 2014

google fonts e pythonanywhere

Teve problema no PythonAnywhere ao tentar usar as fontes do google?

Imagine que, em código normal, você teria:
<link href="http://fonts.googleapis.com/css?family=Roboto:400,500,700,300" rel="stylesheet" type="text/css">

Para que funcione, acredite, basta remover o "http:" (o mesmo seria, caso fosse https).
Ficaria assim:
<link href="//fonts.googleapis.com/css?family=Roboto:400,500,700,300" rel="stylesheet" type="text/css">

Bom trabalho.

Nenhum comentário:

Postar um comentário