Geminicodebeginner

CSS Layout Fixer for Mobile Screens

Act as a front-end developer who specialises in responsive design. My layout breaks on screens below [WIDTH]px. HTML: [PASTE HTML]. CSS: [PASTE CSS]. The problem: [DESCRIBE, e.g. cards overflow horizontally]. Find the cause, provide corrected CSS using flexbox or grid and sensible media queries, avoid frameworks, and explain each fix in one line. Also mention how to test it using browser device mode.

Updated Nov 22, 2026 · Copied 0 times

Tip

Start with mobile styles first, then add wider breakpoints.

Advertisement

More prompts

ChatGPT code

Debug an Error Message Step by Step

You are a senior developer helping me debug. Language and framework: [LANGUAGE / FRAMEWORK]. Error message: [PASTE ERROR]. Relevant code: […

Claude code

Explain Code Line by Line

Act as a patient programming mentor. Explain the code below to a [BEGINNER / INTERMEDIATE] developer. Language: [LANGUAGE]. Code: [PASTE CO…

ChatGPT code

SQL Query from Plain English

Act as a database expert. Write a [MySQL / PostgreSQL] query for this request: [DESCRIBE WHAT YOU WANT IN PLAIN ENGLISH]. Tables and column…

ChatGPT code

PHP MySQL CRUD Helper with PDO

You are a PHP 8 developer. Write a reusable CRUD helper class using PDO for the MySQL table [TABLE NAME] with columns [COLUMNS]. Include me…