Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zztop44
on Aug 16, 2023
|
parent
|
context
|
favorite
| on:
Why Tailwind CSS Won
But isn’t BEM or a custom system of CSS variables strictly worse in this regard? Instead of knowing what class=“mb-4” means in Tailwind, they now need to know what class=“news-button” means in your specific application.
xigoi
on Aug 16, 2023
[–]
class="news-button" means that it's a news button and will be styled the way that news buttons are styled. What's difficult about that?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: