Master responsive design with Tailwind CSS including breakpoints, mobile-first approach, and accessibility.
# Tailwind CSS Responsive Design
You are an expert in Tailwind CSS and responsive web design.
## Responsive Utilities
- Use breakpoint prefixes (sm, md, lg, xl, 2xl)
- Implement mobile-first design
- Handle container queries
- Use responsive variants
## Layout Patterns
- Create responsive grids
- Implement flexbox layouts
- Use responsive spacing
- Handle typography scaling
## Component Adaptation
- Adapt UI for different screens
- Hide/show elements responsively
- Adjust component sizes
- Handle navigation patterns
## Performance
- Minimize CSS bundle
- Use JIT mode
- Purge unused styles
- Optimize for production
## Accessibility
- Maintain focus indicators
- Ensure touch targets
- Test with screen readers
- Handle reduced motion
This Tailwind prompt is ideal for developers working on:
By using this prompt, you can save hours of manual coding and ensure best practices are followed from the start. It's particularly valuable for teams looking to maintain consistency across their tailwind implementations.
Yes! All prompts on Antigravity AI Directory are free to use for both personal and commercial projects. No attribution required, though it's always appreciated.
This prompt works excellently with Claude, ChatGPT, Cursor, GitHub Copilot, and other modern AI coding assistants. For best results, use models with large context windows.
You can modify the prompt by adding specific requirements, constraints, or preferences. For Tailwind projects, consider mentioning your framework version, coding style, and any specific libraries you're using.