如何使用font-family lato? [英] How to use font-family lato?

查看:709
本文介绍了如何使用font-family lato?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用font-family lato?

How to use font-family lato ?

我使用这样的风格,但不工作。我能怎么做 ?谢谢。

I have used style like this but not working . How can I do ? Thank you.

font-family: Lato, Helvetica, sans-serif;

链接: http://www.google.com/fonts/specimen/Lato

推荐答案

请将此

<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>

并使用 font-family:'Lato',sans-serif; / code>在你的css。例如:

and use font-family: 'Lato', sans-serif; in your css. For example:

h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

这篇关于如何使用font-family lato?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆