---
title: "Comment by Matej Bošnjak on \"Why I switched from normal CSS to Tailwind CSS\" | Hashnode"
description: "Hi. Yes, Tailwindcss readability is indeed a problem, but even though Tailwindcss is utility-first framework, that can be avoided. By using tailwindcss directiv"
url: "https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3/comment/60ddbaa8e51e523e9b7e42d5"
---

[Discussion](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3)

Comment [Why I switched from normal CSS to Tailwind CSS](https://hashnode.com/posts/why-i-switched-from-normal-css-to-tailwind-css/60db96c47ad49f6471acc9a3)

[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.
