4 ms·
Some features Tailwind provides: • Consistent language for applying colors, and utilities for modifying colors and opacity. • Consistent widths, sizes, and br
by alexmingoia 5y ago
Some features Tailwind provides:
• Consistent language for applying colors, and utilities for modifying colors and opacity.
• Consistent widths, sizes, and breakpoints for text, borders, containers, etc.
• Consistent and concise language for media queries (breakpoints, dark mode, etc.).
• Enables inline specification of hover state, group state, etc.
• Less verbose than using actual inline styles.
- andrei_says_ 5y agoI like these very much - Consistent language for applying colors, and utilities for modifying colors and opacity. - Consistent widths, sizes, and breakpoints for text, borders, containers, etc. - Consistent and concise language for media queries (breakpoints, dark mode, etc.) And use them in my SCSS projects - copying the values into css maps and accessing them via one-letter css functions, like this: color: c(yellow-400); I do not like the incomprehensible class soup and don’t mind naming things so I continue using BEM and ITCSS plus a bunch of helpful SCSS mixins for breakpoints etc. If you already know CSS and have a solid approach to organizing your code, tailwindcss is not a huge win.
- nwmcsween 5y agoConsistent to someone's whims and not consistent in a defined standard (e.g. first letter of each dash separated word, etc) isn't consistent in my opinion
- lewispollard 5y agoThey're consistent internally wherever you use them, and then you can override them in the config file, where the new values will be consistently used throughout.