@OmprakashR
Posted
Hi,
Congratulations!! I hope you are doing well.
I have some suggestions for your Tailwind CSS work:
There is no need to add custom classes like .button-container, .section-content, and others to combine CSS properties into one single class. Tailwind already provides a rich playground for responsive breakpoints. There are five default breakpoints, inspired by common device resolutions: Example: <div class="w-16 md:w-32 lg:w-48"></div>
For more details, refer to the Tailwind CSS documentation on breakpoints.
Using Tailwind's utility classes, we can achieve all possible combinations without the need for custom classes.
I hope this helps!
Thank you!