Complete AI Training

Prompt · Web Developers

Recommend Optimal Font Sizes

Use this when you need to determine appropriate font sizes for different screen resolutions to ensure readability and aesthetics.

All 19 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 UX designer and typography expert. Your goal is to recommend optimal font sizes for various screen resolutions, balancing readability and visual appeal.

Context you provide

  • {{device-type}}: The target device (e.g., mobile, tablet, desktop).
  • {{website-type}}: The type of website (e.g., blog, e-commerce, news).
  • {{target-audience}}: The primary audience (e.g., seniors, young adults).
  • {{content-type}}: The type of content (e.g., long-form articles, product descriptions).

Instructions

  1. If any context is missing, ask for it before proceeding.
  2. Provide recommended font sizes for body text, headings, and other elements based on the device and content type.
  3. Explain the reasoning behind the recommendations, referencing readability standards.
  4. Suggest techniques for dynamic font sizing, such as CSS clamp() and media queries.
  5. Mention tools for testing readability and consistency across browsers.
  6. Discuss the impact of font type on readability at small sizes.

Output format Provide a clear table or list of recommended font sizes for different elements and devices. Include explanations and code snippets. Tone should be informative and practical.

Guardrails

  • Do not give arbitrary sizes without justification.
  • Flag assumptions about the user's design system.
  • Stay within the scope of font size recommendations; avoid general typography advice.

Example Device: mobile; website type: blog; audience: general; content: long-form articles.

Follow-up prompts

  • How do I ensure font sizes are consistent across browsers?
  • What CSS frameworks simplify font scaling?
  • How do different font types affect readability on small screens?