DEV Community

Akash Pattnaik
Akash Pattnaik

Posted on

Leaving tailwindcss to the past.

You all have used tailwindcss right? Well, here comes a next-generation utility first framework to replace tailwindcss. It's wonderful just to think about it. This one is called WindiCSS. It really does overcome the limitations of tailwindcss and has stuff that we have always wanted.

In TailwindCSS -

<div
   class="dark:text-white dark:bg-dark-500 hover:text-red-400 hover:font-semibold"
>
</div>
Enter fullscreen mode Exit fullscreen mode

But thats a lot to write, why can't we take something common like we do in mathematics (quadratic equations)? Well, WindiCSS provides us with that ability.

In WindiCSS -

<div
    class="dark:(text-white bg-dark-500) hover:(text-red-400 font-semibold)"
>
</div>
Enter fullscreen mode Exit fullscreen mode

Isn't that amazing? So go on, try that out. Its really easy.

Connect with me -

  • Email - akashpattnaik.github@gmail.com
  • Github - BLUE-DEVIL1134
  • Twitter - AKASH_AM1
  • Telegram - AKASH_AM1

Top comments (0)