Main reason for using Tailwind over standard CSS or a full-fledged CSS framework like Bootstrap is for the following reasons:
Don't have to think of class names
Class names are standard across all projects, meaning, you don't have to get acclimated to anything new when switching over to another project that uses Tailwind
You don't have to jump files to see how a tag is styled
The class names are so succinct, they do help do away with the issue of inline-styles cluttering your HTML
Easy to copy and paste Tailwind components since you don't need to find any related CSS to copy as well
Only use the exact styles you need (utility CSS allows for flexible customization and small file sizes)
These are just some of the few reasons off the top of my head. I always tell people, inexperienced or experienced, just give Tailwind a good try for 1 - 3 days.
Every single person who has says they don't use anything but Tailwind on their projects anymore.
Hi Chris!
With your tutorial about canvas setup, i made that "game" where ***** are flying and if the mouseX and mouseY < 50 .... , then the ***** scales, else scales down.
I'm trying to center the canvas (in the middle of page), but the ***** scales event if mouse is 200px higher, than *****.
Please help. ;)
Want to participate?
Create a free Chris Courses account to begin