Skip to content

Commit

Permalink
feat: add a post about google font
Browse files Browse the repository at this point in the history
  • Loading branch information
minmaxw1024 committed Nov 17, 2024
1 parent 34db1df commit ac254be
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions posts/how_to_use_google_font.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: How to use Google Font in Tailwind CSS
published_at: 2024-11-15T15:00:00.000Z
snippet: 3 steps to use Google Font in Tailwind CSS
---

## Why do we use Google Font?

First of all, I'd like a better looking font for my website😂

The benefits of using Google Font are:

- **Performance**: Google Fonts are hosted on a fast, reliable CDN. They can be loaded faster than self-hosted fonts(for non-chinese users).

- **Free**: Google Fonts are free to use.

- **Variety**: Google Fonts has a wide variety of fonts to choose from, and I can easily find the font that suits my website, by typing the text I want to display in the font.

## How to use Google Font in Tailwind CSS

### Step 1: Find the font you like

Go to [Google Fonts](https://fonts.google.com/) and find the font you like. For example, I choose [Roboto](https://fonts.google.com/specimen/Roboto).

0 comments on commit ac254be

Please sign in to comment.