课程: Hands-On Introduction: React

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Custom fonts and icons

Custom fonts and icons

- [Instructor] On some web projects, I think it would look really nice to have some custom fonts, so let's go ahead and add that into our project. My favorite place to get fonts is at Google Fonts, which you can find at fonts.google.com. There are a ton of fonts, there's actually 1,442 families so far, and there are even some icons now, which is pretty cool, 2,500 glyphs in this icon set called Material Design, they're constantly adding fonts, and I hope icons soon. So I'm going to pick a couple of fonts, and the way that I like my projects to look, I like to look for a font with a large x-height. X-height is basically the height of a letter X on the font, I find that at smaller sizes, those are a lot more readable. And basically, I found one called Poppins that I really like, so I'm going to type that in here, it's going to find the font. And you can see that it does have like a very large X height with very tiny ascenders…

内容