MENU

Fun & Interesting

How to Use Custom Fonts with Tailwind CSS

Tailwind Labs 77,789 lượt xem 3 years ago
Video Not Working? Fix It Now

In this video, I'll show you how to use custom fonts in your Tailwind CSS project. We'll look into embedding Google Fonts, as well as self-hosting fonts using the @font-face CSS at-rule.

Documentation: https://tailwindcss.com/docs/font-family#customizing
Source code: https://play.tailwindcss.com/56GCLcXAzl

Comment