Diagnosis: 1. What is causing the bug (the specific CSS rule or missing rule) 2. Why that rule behaves this way (the mental model that explains it) 3. The fix 4. Alternative approaches if the fix has trade-offs 5. How to use browser dev tools to diagnose this class of bug yourself next time
How to use this prompt
1
Click Copy Prompt above
2
Open ChatGPT, Claude, or Gemini
3
Paste the prompt — replace all [BRACKETED] text with your details
4
Send it and refine the output as needed
Want a custom version?
Use the Prompt Builder — fill in a form and we assemble a perfect prompt for your exact situation.