---
title: "Discussion on \"Why I switched from normal CSS to Tailwind CSS\" | Hashnode"
description: "Discussion on \"Why I switched from normal CSS to Tailwind CSS\". reasons why I switched from normal CSS to Tailwind CSS"
url: "https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why I switched from normal CSS to Tailwind CSS](https://blog.berack.dev/why-i-switched-from-normal-css-to-tailwind-css?utm_source=hashnode&utm_medium=feed)

reasons why I switched from normal CSS to Tailwind CSS

Jun 29, 2021 · 3 min read · blog.berack.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Berack Kaunda](https://hashnode.com/@berack)

@berack · moon

  
[View profile](https://hashnode.com/@berack)

Web Alchemist

Practicing web alchemy through Javascript and React

## Responses 3

Markdown supported · ⌘↵ to post

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Jul 7, 2021](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60e5a3eb4aacd6304824702a)

Tailwind would be my first choice too I rate it higher than Bootstrap.

[Matej Bošnjak](https://hashnode.com/@mbosnjak)

[Jul 1, 2021](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60ddbaa8e51e523e9b7e42d5)

Hi.

Yes, Tailwindcss readability is indeed a problem, but even though Tailwindcss is utility-first framework, that can be avoided.

By using tailwindcss directive [@apply](https://tailwindcss.com/docs/functions-and-directives) one can still utilize full framework capabilities while keeping html code clean.

For example

```
.btn {
  @apply font-bold py-2 px-4 rounded;
}
```

You can also add responsive design directives to this.

```
.responsiveText {
  @apply font-bold py-2 px-4 rounded; // represents @screen sm
  @screen md {
    @apply font-thin py-1 px-2 rounded;
  }
}
```

Happy coding. :)

[Berack Kaunda](https://hashnode.com/@berack)

[Jul 1, 2021](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60ddbaa8e51e523e9b7e42d5#reply-60ddbf42e51e523e9b7e4325)

Thanks for the addition.

`@apply` really helps, especially when working on large projects.

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Jul 1, 2021](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60dd78410970dd75de76f511)

Hey [Berack Kaunda](https://hashnode.com/@berack), this is a really nice article!

I was checking your Twitter link and it doesn't seem to work... maybe you'd like to check it.

Thank you.

[Berack Kaunda](https://hashnode.com/@berack)

[Jul 1, 2021](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60dd78410970dd75de76f511#reply-60ddbd9d83e0d73ecb5b7e46)

wow.. thanks for the update
