Part 6: Design Break: Fonts
Last updated
Last updated
We’ve been working pretty extensively with HTML and TypeScript. Let’s have a small break and work on a few CSS needs.
Using the Material UI, there is a font family that goes really well with this library and that’s Roboto— read more . Let’s walk through including the font into our CSS.
Inside of our index.html file we are going to include the link to the google font for the Roboto font.
Under the favicon link type:
Now that we have our font downloaded from our link tag, let’s go to our style.css file and add a few lines of CSS. While we are there lets take margins and padding off of the body and the html elements.