Tailwind CSS vs Inline Styles.

A Visual Comparison outlining a recent #tailwindcss article by @frontstuff_io
1. Inline styles only apply to the elements they’re declared on.
2. Inline styles cannot add pseudo-classes like hover or focus styles
3. Inline styles cannot do deeper nesting, selector lists, or CSS combinators.
4. Inline styles don’t have access to media queries.
5. Inline styles can’t be processed while TailwindCSS is processed using PostCSS
6. Inline styles don’t cache well
7. Inline styles are unlimited. There are no rules, no guidelines, no design system, and no way to enforce anything.
8. Inline styles are one thing at a time.
tl;dr: No, Utility Classes Aren't the Same As Inline Styles

Read more here: frontstuff.io/no-utility-cla…
Thanks for reading so far, If you like this thread, consider re-tweeting it.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Surjith S M ✪

Surjith S M ✪ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @surjithctly

14 Mar
Last week in Tech Twitter.

📆 March 7th - 14th

A roundup 👇👇

(Viral tweets, product launches, resources and more)
Read 26 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(