Skip to content

Results for “css”

13 prompts

My page breaks on mobile: [describe problem, e.g. horizontal scroll, overlapping elements]. Here's the HTML/CSS: [paste]. Find the cause, fix it with mobile-first CSS, and explain how to test on different screen sizes.

ChatGPT
Coding & Development

Mobile responsive bug fixes

Fixes layouts that break on small screens.

0

Create a Shopify Online Store 2.0 section in Liquid for [feature, e.g. a featured collection slider with badges]. Include schema settings so merchants can customise text, colors and blocks, responsive CSS, and accessibility.

ChatGPT
Coding & Development

Shopify Liquid section

A customisable Shopify theme section.

0

Add a dark mode toggle to my site built with [stack]. Use CSS variables, respect prefers-color-scheme by default, remember the user's choice, avoid a flash of the wrong theme on load, and keep it accessible.

ChatGPT
Coding & Development

Dark mode toggle

A dark mode switch that respects system settings.

0

Build a [component, e.g. pricing table / navbar / testimonial slider] with Tailwind CSS. Make it responsive, accessible (keyboard and screen reader friendly), support dark mode, and use a [color] accent. Return the HTML and explain the key classes.

ChatGPT
Coding & Development

Tailwind CSS component

A polished, responsive UI component built with Tailwind classes.

0

You are a Vue 3 developer. Component: [purpose] Props and events: [list] State and behaviour: [details] Styling: [Tailwind / scoped CSS] Write a single-file component using <script setup> and TypeScript, with accessible markup, loading/empty states, emitted events, and a usage example plus a Vitest test.

Claude
Coding & Development

Vue component

Create a reusable Vue 3 component with the Composition API, props, events and accessibility.

0

Help me build this layout with CSS. Layout description: [e.g. sidebar left, cards grid that wraps, sticky header, footer at bottom] Breakpoints: [mobile/tablet/desktop behaviour] Existing HTML (optional): [paste] Give the HTML and CSS using Flexbox or Grid (explain which and why), comment each key property, and show h…

ChatGPT
Coding & Development

CSS layout with Flexbox or Grid

Build the layout you have in mind with modern CSS, explained property by property.

0

You are a front-end developer who cares about motion design. Elements to animate: [buttons, cards, modal, loader, list items] Style: [subtle, playful, premium] Write CSS (and minimal JS if needed) for each animation using transforms and opacity for performance, sensible durations and easing, and a prefers-reduced-moti…

Claude
Coding & Development

CSS animations and micro-interactions

Add smooth, accessible animations to buttons, cards, loaders and page elements.

0

Act as a senior Next.js developer. Next.js version and router: [e.g. 15, App Router] Page: [purpose] Data source: [API/database] Styling: [Tailwind / CSS modules] Write the page using server components where appropriate, a client component for interactivity, loading and error UI, metadata for SEO, caching/revalidation…

ChatGPT
Coding & Development

Next.js page with data fetching

Build a Next.js page or route with data fetching, loading and error states and SEO metadata.

0

[Attach a screenshot or design image] You are a front-end developer. Recreate this design as HTML and CSS. Requirements: - Semantic HTML5 and accessible markup (alt text, labels, contrast) - Responsive: mobile first, with breakpoints at [e.g. 640px, 1024px] - Styling with [plain CSS with variables / Tailwind] - Match…

Claude
Coding & Development

Turn a screenshot or design into HTML and CSS

Upload a mockup or screenshot and get responsive, semantic HTML and CSS that matches it closely.

0

You are a web accessibility specialist. Review the HTML/CSS below against WCAG 2.2 AA. Check: semantic structure and headings, alt text, form labels and errors, keyboard navigation and focus, colour contrast, link and button names, ARIA usage, motion and media. For each issue: severity, the WCAG criterion, who it affe…

Claude
Coding & Development

Accessibility review of a web page

Check HTML for accessibility problems against WCAG and get prioritised fixes with corrected code.

0

You are a browser extension developer. Extension idea: [what it does] Where it runs: [all sites / specific domains] UI: [popup, options page, sidebar] Data to store: [settings, lists] Create a Manifest V3 extension with: 1. manifest.json with minimal permissions 2. popup.html/js/css 3. content script and/or service wo…

Claude
Coding & Development

Chrome extension starter

Generate a working Manifest V3 Chrome extension with popup, content script and storage for your idea.

0

You are a senior React developer. Component: [name and purpose] Props: [list with types] Behaviour: [interactions, states, loading/error/empty] Styling: [Tailwind / CSS modules / styled-components] Data: [static / fetched from API endpoint] Write a functional component in TypeScript that: - Is accessible (semantic HTM…

Claude
Coding & Development

React component with props and state

Generate an accessible, reusable React component with TypeScript types, state handling and styling.

0