Posts

Showing posts from August, 2022

Jumped feet first with Blazor and TailwindCss

Image
   I watched an incredibly good presentation by Chris Sanity on using Tailwindcss with Blazor. Chris had it look so quick and easy. I was so impressed that I decided right then I had to learn how to use it. This post is about the experience that I went through to learn Tailwindcss and whether I still think it is worth the effort. Spoiler Alert:   It is very worth it.   So, to show that I could use Tailwindcss on a real application, I took the standard Blazor Server template and created an application. There are three pages, Index, Counter, and Fetch Data. I then removed all references to Bootstrap. I wanted to start with just the HTML code. I have broken this post out into "Lessons Learned", "Pros and Cons" and "Style changes I made between Bootstrap and Tailwindcss.    Lessons Learned If you do not understand native CSS, you should not use Tailwindcss. Since Tailwindcss is a set of utility classes, you must understand the und...