---
title: "Discussion on \"Why TailWindCSS rocks in responsive utility classes\" | Hashnode"
description: "Discussion on \"Why TailWindCSS rocks in responsive utility classes\". If you want the text in a DIV or a paragraph element centered we use class='text-center' in Bootstrap 5.\n<p class=\"text-center\">Center aligned text on all viewport sizes.</p>\nhttps://getbootstrap.com/docs/5.1/utilities/text/\nBut this will be centered..."
url: "https://hashnode.com/posts/why-tailwindcss-rocks-in-responsive-utility-classes/627f54459a1db5ec14167f5e"
---

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

Discussion

# [Why TailWindCSS rocks in responsive utility classes](https://anjanesh.dev/why-tailwindcss-rocks-in-responsive-utility-classes?utm_source=hashnode&utm_medium=feed)

If you want the text in a DIV or a paragraph element centered we use class='text-center' in Bootstrap 5. <p class="text-center">Center aligned text on all viewport sizes.</p> https://getbootstrap.com/docs/5.1/utilities/text/ But this will be centered...

May 14, 2022 · 3 min read · anjanesh.dev  
Read the article

-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#bootstrap](https://hashnode.com/tag/bootstrap)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
