883 2
How to center div in tailwind?

I was looking at this question: How to center div horizontally and vertically using flexbox? this works good when using custom CSS, but how can I align div to center using Tailwind CSS class, veritically and horizontally. Since, I am already using Tailwind in a project, so I suppose I can use it instead of custom CSS.

...
Type
Question
796 0
Toggle switch with Text in CSS
In this article, I have mentioned how we can create toggle switch button with text using CSS only.
Type
Article

Page 4 of 4