A Utility-First CSS Framework for Rapid UI Development(tailwindcss.com)

almost 5 years ago from Dima Braven, founder at itmeo.com

  • Pete Sadler, almost 5 years ago

    This is madness. What is the benefit of this over CSS/SCSS + variables and mixins?

    1 point
    • Juan J. RamirezJuan J. Ramirez, almost 5 years ago

      Many people find Functional CSS ridiculous at first but there are several advantages, like avoiding CSS legacy, better naming, easier debugging, more consistency in the UI, no global scope and no specificity issues, better adaptation to particular workflows, easier to scale and de-scale, and just a better understanding of what the CSS is doing.

      Also, this is not a pre-processor prohibitive approach. If you have a very complex UI you can just bake in your pre-processor approach or even better you can create a new stylesheet and address those problems separately.

      I started using Tachyons and I don't think I'm going back. It's simply a better way to work. People think that having the ability to do something like storing a color in a variable will give them ultimate control over a layout, but I think that's far from true . Functional CSS allows you to work with simple "find and replaces" tasks to change your whole website or a single page. Granted, this seems like an archaic approach but it's more predictable, readable and human.

      5 points