Here are 10 reasons to start using @tailwindcss for your next project

#Tailwind #TailwindCSS

https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧵" title="Thread" aria-label="Emoji: Thread">Thread https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Rückhand Zeigefinger nach unten" aria-label="Emoji: Rückhand Zeigefinger nach unten">
https://abs.twimg.com/emoji/v2/... draggable="false" alt="1️⃣" title="Tastenkappe Ziffer 1" aria-label="Emoji: Tastenkappe Ziffer 1"> No CSS file needed

As the official website says, you can "Rapidly build modern websites without ever leaving your HTML"

It& #39;s like writing inline styles for each html element, but using class names - Far more readable and much faster to type. You almost don& #39;t need a CSS file.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="2️⃣" title="Tastenkappe Ziffer 2" aria-label="Emoji: Tastenkappe Ziffer 2"> No need for class names

Every time you need to style an element, you must think of a suitable class name. And then class names for the child elements.

To modify styles, you need to refer to the class name, go to CSS and then make changes. All that is avoided using Tailwind!
https://abs.twimg.com/emoji/v2/... draggable="false" alt="3️⃣" title="Tastenkappe Ziffer 3" aria-label="Emoji: Tastenkappe Ziffer 3"> Comes with a design system

Have you ever given arbitrary padding values like 15px in one place and then 13px somewhere else? Arbitrary font sizes for headings, paragraphs?

Tailwind helps you stay consistent by using available utility classes (which are very thought-through)
https://abs.twimg.com/emoji/v2/... draggable="false" alt="5️⃣" title="Tastenkappe Ziffer 5" aria-label="Emoji: Tastenkappe Ziffer 5"> Create responsive designs super fast

You don& #39;t need to write any media queries. Just prefix an "sm:", "md:" or "lg:" with the utility class to style that element for those screen sizes! You must try this at least once to experience the speed
https://abs.twimg.com/emoji/v2/... draggable="false" alt="7️⃣" title="Tastenkappe Ziffer 7" aria-label="Emoji: Tastenkappe Ziffer 7"> Very tiny final CSS bundle

Some frameworks come with huge CSS file size. Tailwind removes all unused CSS when building for production, so your final CSS file will be very small.

The official website says - "Most Tailwind projects ship less than 10KB of CSS to the client."
https://abs.twimg.com/emoji/v2/... draggable="false" alt="8️⃣" title="Tastenkappe Ziffer 8" aria-label="Emoji: Tastenkappe Ziffer 8"> Helps you think in components early

If you are repeating the same utility classes again and again, you know that it& #39;s time to create components and make all changes in one place.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="9️⃣" title="Tastenkappe Ziffer 9" aria-label="Emoji: Tastenkappe Ziffer 9"> Makes it easy to add a dark mode

Just prefix "dark:" to any color utility and it gets applied when dark mode is preferred on the user& #39;s system.

You can also switch to it manually. Watch how to do it here - https://www.youtube.com/watch?v=rFAATv30v4Y">https://www.youtube.com/watch...
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🔟" title="Taste 10" aria-label="Emoji: Taste 10"> Customize everything

You don& #39;t like the default color palette, spacing, breakpoints or shadows? Or just wish to tweak it a little? Configure everything the way you want and it turns into your own custom CSS framework! While you can still enjoy all the other mentioned benefits
Convinced? Wait for a "Getting started" thread from me - or start exploring the docs! Super easy to get onboarded.

You can also watch all the Tailwind CSS videos on my Youtube channel to get more familiar before jumping into it https://youtube.com/playlist?list=PLrC_WsW4VdT4k3LWVFpTGM4ryYlDnrEvz">https://youtube.com/playlist...
You can follow @shrutibalasa.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: