2024-02-09
As programmers, we love to simplify life. Tailwind CSS is a framework that is created to help programmers from writing a humongous amount of CSS loads while allowing us to style our design in HTML.
However, nothing is perfect. Just like drinking a cup of tea, some people may like Black Tea and some may prefer to drink Green Tea. The post may even be taken down if the author overlooks the idea of Coffee. So, let's not talk about tea and start evaluating the taste.
One for All: It makes work easier because one doesn't need to switch between the HTML and CSS Styling. Everything can be done on one page.
Concise CSS Styling: CSS code is simplified into smaller blocks of "index" which can be used immediately in an HTML file.
Robust and Responsive Customization: Tailwind CSS is a responsive and mobile-friendly CSS Framework. It is also open source, providing freedom for customizations.
Others:
Verbose HTML Code: Due to the nature of having everything implemented together, codes may become difficult to read.
Others:
Great for writers, sad for readers
You can balance code's readability and coding efficiency by using Tailwind CSS only for styling such as hovering effects. Everything else (styling components, positioning, etc.) could remain the same.