How to make a graphic design with Claude using HTML and CSS

Claude cannot draw images, but it can write HTML and CSS that renders a design in your browser. You describe your flyer or poster, add your logo and brand details, then export the result as a PNG. It suits anyone who wants quick branded graphics without design software.

YouTube video: How I Make Graphic Designs With Claude (It Can't Even Generate Images)

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
2 min 13 s
Time to do it
30 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. Open Claude and start a new chat. Explain that you want a design built in HTML and CSS, not an image, so the layout stays editable.

  2. Describe the piece: size, purpose, headline, subheading, body text and where the logo goes. Give exact wording rather than a vague summary.

  3. Paste in your brand details: hex colour codes, font names, and your logo as an uploaded file or a hosted image link.

  4. Ask Claude to return one complete HTML file with the CSS inside a style tag, so you can open it in a browser without extra setup.

  5. Save the reply as an.html file and open it in your browser. Check the layout, spacing and text fit at full size.

  6. Request changes in plain words, such as a bigger headline, more padding or a different accent colour. Claude edits the code, not the picture.

  7. For a PNG, ask Claude to use a tool that renders the page and downloads it as an image, or take a full-page screenshot in your browser.

  8. Check the exported file at 100 percent zoom for cut-off text or missing fonts, then save it with a clear file name.

Tips and common mistakes

Name real fonts you have installed, or ask for web-safe fallbacks so the design does not shift on another machine.

Keep the HTML file so you can change prices or dates later without starting over.

Upload your logo rather than describing it, or Claude may invent a placeholder shape.

Screenshot at a high zoom or use a 2x scale so the PNG stays sharp when printed.

Questions

Can Claude really make a design without generating images?

Yes. It writes HTML and CSS, and your browser draws the result. You get real text and shapes, not a flat picture, so edits stay easy.

How do I get a PNG out of it?

Either let Claude run a rendering tool that exports the page as an image, or open the HTML file in your browser and take a full-page screenshot.

Will the fonts look the same on another computer?

Only if that font is installed or loaded from a web font link. Otherwise the browser swaps in a fallback and the spacing can change.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Art & Design

See all