AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Segoe ui w3 font families8/25/2023 ![]() ![]() How it works: Tailwind config file sans: 'BeautifulQueen' links to your css name font-family: 'BeautifulQueen' and it uses your src source of your font file location. Sans is tailwind's default font name, you are overriding the first font to your custom font. You only need the fontFamily and sans line. Monospace fonts - here all the letters have the same fixed width. They create a modern and minimalistic look. ![]() Sans-serif fonts have clean lines (no small strokes attached). They create a sense of formality and elegance. ![]() font-serif base */Ĭonst defaultTheme = require("tailwindcss/defaultTheme") In CSS there are five generic font families: Serif fonts have a small stroke at the edges of each letter. In order to modify the Tailwind Preflight configuration, you can make use of to extend the base as below /* When you install Tailwind CSS following the official guide, the default font-family that applies to the HTML element of your project corresponds to the font-sans utility class, as below (Preflight) font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" ![]()
0 Comments
Read More
Leave a Reply. |