Hey, I’m Minh-Phuc Tran

I'm a software engineer. I love building SaaS for makers and developers 💚. I share my journey daily on Twitter.

On this site, I occasionally write programming tutorials and lessons I learned from bootstrapping SaaS.

Subscribe to the newsletter

Get emails from me about software development, SaaS, and early access to new articles.

Blog

Personal documentary: 100% authentic, good for inspiration.

Write My First Tailwind CSS Plugin

Building my website for a while using Tailwind CSS, I started to have more and more specific needs like backdrop-filter to create blur overlay effects, autofill pseudo-class to style form fields when they have been autocompleted, etc, and these use cases weren't covered by TailwindCSS core packages. So I had to leave my HTML and write separate CSS files to be able to use custom CSS properties. Although writing separate CSS is fine, I just don't like having ad hoc CSS files here and there, which feels like an anti-pattern using Tailwind CSS for me, especially when your theming system starts to appear everywhere. So, I asked: