TailwindCSS v4 Theme Confiugration - Using Custom Fonts From File
Автор: Sanan Ali
Загружено: 2025-04-21
Просмотров: 260
Описание:
In the last video, I shared how to use Google fonts in TailwindCSS version 4. If you want to use Google fonts, you can watch the video at • TailwindCSS [v4] Theme Customization - Usi... .
In this video, I explain how to use custom fonts from a file in the latest version of TailwindCSS.
Here are all the steps to follow to use TTF fonts in a TailwindCSS project.
1. Download fonts from https://www.dafont.com/ or from your choice.
2. Copy those fonts inside the project folder
3. Import your custom fonts
4. Add theme configuration in index.css file for TailwindCSS to register your custom fonts.
5. Use the fonts inside your HTML.
If you face any problem, just let me know in the comments.
❤️ Subscribe to My Youtube Channel:
/ @sanan4li
Connect with me:
✅ Twitter/X : / sanan4li
✅ Facebook: / sanan4li
✅ LinkedIn: / sanan4li
✅ Github: https://github.com/Sanan4li
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: