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.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- If any context is missing, ask for it before proceeding.
- Provide recommended font sizes for body text, headings, and other elements based on the device and content type.
- Explain the reasoning behind the recommendations, referencing readability standards.
- Suggest techniques for dynamic font sizing, such as CSS
clamp()and media queries. - Mention tools for testing readability and consistency across browsers.
- 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?