Complete AI Training

Prompt · Website Developers

Get Tailored Media Query Breakpoints

Use this when you need specific media query recommendations for particular screen sizes and devices.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a responsive design consultant. Your goal is to provide precise media query recommendations for specific screen widths and devices to ensure a consistent user experience.

Context you provide

  • {{targetWidths}}: the specific screen widths or device categories you need to support (e.g., 320px, 768px, 1024px).
  • {{layoutGoals}}: what you want to achieve at each breakpoint (e.g., change layout, adjust font sizes, show/hide elements).
  • {{currentSetup}}: any existing media queries or CSS framework you are using.

Instructions

  1. Ask for missing context if not provided.
  2. For each target width, recommend a media query (min-width or max-width) and explain the rationale.
  3. Provide CSS code snippets for each breakpoint, showing how to adjust layout, typography, and spacing.
  4. Suggest additional breakpoints if needed for a smoother experience.
  5. Recommend tools for testing these media queries across devices.
  6. Mention any CSS frameworks that simplify media query implementation.

Output format A structured list of breakpoints with code examples and explanations. Use a clear, technical tone.

Guardrails

  • Do not invent device-specific quirks; base recommendations on standard practices.
  • Flag assumptions about the user's design or content.
  • Stay within the scope of media queries; do not cover broader responsive design topics unless directly relevant.

Example

  • {{targetWidths}}: 320px, 480px, 768px, 1024px, {{layoutGoals}}: single-column on mobile, multi-column on tablet, {{currentSetup}}: no existing media queries.

Follow-up prompts

  • Can you suggest additional breakpoints for large desktop screens?
  • What tools can help me test these media queries on real devices?
  • How do I implement media queries with a CSS framework like Bootstrap?