Next.js Fundamentals Styling with TailwindCSS
Next.js fundamentals Styling with TailwindCSS.
Next.js Fundamentals Styling with TailwindCSS
- Tailwind is a CSS framework where we can utilize utility classes. For example if we want our text to be white we can use "text-white".
- This is the official TailwindCSS page. It's a great reference and one hotkey I really enjoy is cmd+K which brings up a search bar and we can search for any css docs such as height then we can see all the utility classes for height: Tailwind CSS Official Page
1<div className="text-white">foo bar</div>