Thiết kế

Tailwind CSS: Tips và Tricks cho Developer

Những mẹo và thủ thuật hữu ích khi làm việc với Tailwind CSS để tăng năng suất.

Admin··1 phút đọc

Responsive Design

Tailwind CSS sử dụng mobile-first approach với các breakpoint prefix.

Custom Colors

Bạn có thể mở rộng color palette trong tailwind.config.js.

Component Patterns

Sử dụng @apply để tạo reusable component styles.

Dark Mode

Tailwind hỗ trợ dark mode out of the box với class strategy.