使用不同的字体与微博bootstrap [英] Using a different font with twitter bootstrap
本文介绍了使用不同的字体与微博bootstrap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想对我的网站使用不同的字体,这不是一个普通的webfont。我已经创建了EOT文件。现在我如何将这些字体与twitter bootstrap集成?
I want to use a different font for my website, which is not a regular webfont. I have created EOT files already. Now how can I integrate those fonts with twitter bootstrap ? Can anyone help ?
感谢
推荐答案
已看到的是使用 Google字体。
转到Google字体并选择字体。 Google会为您提供一个用于插入HTML的链接。
Go to Google Fonts and choose a font. Google will give you a link to put in your HTML.
然后将其添加到您的custom.css:
Then add this to your custom.css:
h1, h2, h3, h4, h5, h6 {
font-family: 'Your Font';
}
p, div {
font-family: 'Your Font';
}
这篇关于使用不同的字体与微博bootstrap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文