Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is this different from inline styling ? this throws class inheritance out of the window


A lot of modern CSS frameworks choose to ignore the cascade.

This trend has grown in response to how difficult it is to avoid regressions at scale - large or multiple projects, lots of components, lots of independent teams, etc.

The cascade really is an elegant and efficient idea but it becomes really difficult to manage as projects grow.

The different with inline CSS is that those helpers are the building blocks — that’s where your standardize your design system metrics.

As others have pointed out this library provides a mechanism to abstract into components as well.


The intention is that for repeated styles, components are extracted: https://tailwindcss.com/docs/extracting-components




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: