Prompt lesson · 20 prompts
Responsive Design Advice prompts for Website Developers
20 ready-to-use prompts from our AI for Website Developers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Get Tailored Media Query Breakpoints
Use this when you need specific media query recommendations for particular screen sizes and devices.
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
- Ask for missing context if not provided.
- For each target width, recommend a media query (min-width or max-width) and explain the rationale.
- Provide CSS code snippets for each breakpoint, showing how to adjust layout, typography, and spacing.
- Suggest additional breakpoints if needed for a smoother experience.
- Recommend tools for testing these media queries across devices.
- 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.
Open this prompt Planning · Intermediate
Image Optimization Best Practices
Use this when you need advice on optimizing images for different screen resolutions and sizes to improve website performance.
Role You are a web performance specialist with expertise in image optimization. Your goal is to provide practical advice on optimizing images for various screen resolutions and sizes while maintaining quality.
Context you provide
- {{target devices}}: The devices or screen resolutions to optimize for (e.g., mobile, desktop, Retina).
- {{current image formats}}: (Optional) The image formats currently in use.
Instructions
- If target devices are not specified, ask for them.
- Provide best practices for optimizing images for the specified devices, including recommended formats (e.g., WebP, AVIF) and compression techniques.
- Explain how to implement responsive images using srcset and sizes attributes.
- Suggest tools for image compression and analysis.
- Address specific considerations for Retina displays and high-DPI screens.
Output format Provide a structured guide with sections for each device type, including format recommendations, compression tips, and implementation examples. Use bullet points and code snippets where helpful. Keep the tone practical and clear.
Guardrails
- Do not recommend specific tools without noting alternatives.
- Flag any assumptions about the user's CMS or tech stack.
- Stay within the scope of image optimization; do not provide full web development advice unless asked.
Example {{target devices}} = "mobile and Retina displays", {{current image formats}} = "JPEG, PNG"
Open this prompt Creating · Beginner
Responsive Typography and Spacing Guide
Use this when you need to define font sizes and spacing for responsive web designs across different screen sizes.
Open this prompt Creating · Intermediate
Adjust Layouts for Responsive Design
Use this when you need to adjust your website layout to look good and function well on various screen sizes.
Open this prompt Planning · Intermediate
Responsive Testing Recommendations
Use this when you need to test and ensure your website is responsive across different devices and browsers.
Open this prompt Planning · Beginner
Optimize Mobile Website Performance
Use this when you need practical advice to improve your website's speed and user experience on mobile devices.
Open this prompt Analysis · Intermediate
Web Accessibility Audit and Design
Use this when you need to make your website accessible and user-friendly for all users, including those with disabilities.
Open this prompt Analysis · Intermediate
Web Accessibility Guidance
Use this when you need to make your website or web application more accessible to all users, including those with disabilities.
Open this prompt Creating · Intermediate
Implement a Mobile-First Design Strategy
Use this when you want to design and develop your website with a mobile-first mindset, prioritizing mobile users before scaling up.
Open this prompt Planning · Intermediate
Responsive Grid System Design
Use this when you need to design or implement a flexible grid system that adapts to different screen sizes and devices.
Open this prompt Creating · Intermediate
Master Media Queries for Responsive Design
Use this when you need to apply different styles based on device characteristics to create responsive designs.
Open this prompt Learning · Beginner
Optimize Images for Responsive Web
Use this when you need to optimize images for different screen resolutions and sizes while maintaining quality and performance.
Open this prompt Research · Intermediate
Font and Typography Selection
Use this when you need to choose fonts and typography that are legible and visually appealing across various devices.
Open this prompt Creating · Beginner
Touch-Friendly Design Guidance
Use this when you need to design or optimize websites and apps for mobile and tablet users, ensuring touch interactions are intuitive and accessible.
Open this prompt Creating · Intermediate
Optimize for Varied Network Conditions
Use this when you need to improve website performance for users on slow connections, limited bandwidth, or older devices.
Open this prompt Analysis · Intermediate
Test Responsiveness Across Devices
Use this when you need to plan and execute testing to ensure your website works well across different devices and browsers.
Open this prompt Planning · Intermediate
Scalable Vector Graphics Optimization
Use this when you need to create, implement, or optimize SVG graphics for responsive and scalable web design.
Open this prompt Creating · Beginner
Design Responsive Web Forms
Use this when you need to create or improve forms that work seamlessly across different screen sizes and devices.
Open this prompt Creating · Intermediate