In this article, we’ll see how to use Google fonts in CSS. The library contains a vast collection of fonts that can be used in web design, mobile apps, etc. we will explore how to use Google Fonts in CSS. 1956) in his weight distribution, and to Mistral (Roger Excoffon. Dancing Script references popular scripts typefaces from the 50s. The following text uses a font called Tangerine: Making the Web Beautiful Applying a font is easy: just add a stylesheet link to your web page, then use the font in a CSS style. Caps are big, and goes below the baseline. For our example, the CSS rule is "Satisfy", cursive. Google Fonts provides a library of hundreds of free and open-source fonts that can be used in web design. Dancing Script is a lively casual script where the letters bounce and change size slightly. Navigate to the file in your project and edit the theme.fontFamily section with the CSS rule for the Google font you added. Index.html Vite + React Configure Tailwind to use a Google Fontįinally, to configure your Tailwind theme to use a Google font, you need to edit the theme.fontFamily section of your Tailwind config.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |