Build a SaaS Landing Page Hero with a CSS-Drawn Product Mockup
You get a polished, responsive SaaS hero section in one HTML file, with a strict type scale, realistic copy, working CTAs and an interactive app mockup drawn in pure CSS.
The prompt
Act as a senior product designer who also writes clean front-end code.
Build the landing page hero for Pinewheel, a fictional roadmap tool that turns engineering tickets into one shared timeline for product, sales and leadership. The hero needs a slim nav, an eyebrow badge, a headline, a one-paragraph lede, two CTAs (Start free for 14 days, See it in action), a reassurance line, a social-proof row, and a product mockup drawn entirely with HTML and CSS: browser chrome, sidebar, and a Q3 timeline with colored bars across July to September.
Rules:
1. Use a strict type scale of six sizes (13, 15, 18, 22 px and a clamped 36-60 px display headline) and nothing else; tight letter-spacing on the headline.
2. Palette: warm off-white background, deep navy ink, one forest-green accent, one coral highlight. No gradients except the small logo mark.
3. Write specific, believable copy: real feature names, owners, ship dates, customer wordmarks. No filler text, no generic buzzwords.
4. The mockup is interactive: Timeline and Board tabs (arrow keys work), clicking a bar shows its status, owner and dates; the primary CTA highlights the mockup and posts a status message; the tour button steps through each bar.
5. Two columns above 960px, stacked below; the sidebar hides under 560px. Visible focus rings, aria roles on tabs, prefers-reduced-motion disables the bar animations.
Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.Example output
Tips and common edits
Why this works
- A fixed six-step type scale and a four-color palette stop the model from drifting into generic, inconsistent template styling.
- Asking for named features, owners and dates forces realistic copy, which is what makes a hero look designed rather than filler.
- Drawing the mockup in CSS keeps the file self-contained, and making it interactive proves the layout is real rather than a flat picture.
Paste into ChatGPT, Claude or Gemini. Save the reply's code as pinewheel-hero.html and open it in any browser, or view it in the chat's preview or canvas panel. Swap the product name and copy to fit your own SaaS.
Common edits
- Rename Pinewheel, swap the accent hex values and rewrite the lanes and bar items to show your own product's features.
- Replace the timeline with a different mockup, such as an inbox list or a metrics dashboard, while keeping the same type scale and layout.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Build a Light/Dark Mode Toggle Demo Page with Smooth Theme Switching
A single HTML page with a polished light/dark theme switch built on CSS custom properties that defaults to the system theme, honors reduced motion, and uses no storage.
Build a Multi-Step Onboarding Wizard with Stepper and Inline Validation
A four-step onboarding wizard in one HTML file, with a clickable stepper, progress bar, inline validation, a review screen, and keyboard and swipe navigation.
Build a Playful Animated 404 Error Page with SVG Art and Site Search
A complete single-file 404 page with an original animated hot-air balloon SVG, a live-filtering search box and helpful recovery links that respect reduced motion.
Build a Responsive Navigation Bar With Mega Menu and Mobile Drawer in HTML
A complete single-file site header with a hover, click and arrow-key mega menu on desktop and an animated hamburger drawer with accordions on small screens.
Build a Responsive Three-Tier Pricing Section with Monthly/Yearly Toggle
A single HTML file with three pricing cards, a working billing switch that recalculates prices, a highlighted recommended plan and accessible feature checkmarks.
Build a Sortable, Filterable Data Table with Pagination in One HTML File
A polished vanilla JavaScript orders table with column sorting, live search, status filters, row selection with bulk actions, pagination and an empty state, all in one HTML file.
- Build a Sticky-Header Plan Comparison Page with Swipeable Mobile Columns
- Build a Testimonial and Logo Social-Proof Section in a Single HTML File
- Build an Accessible Modal, Toast and Tooltip Showcase in One HTML File
- Build an Analytics Dashboard with Sidebar, KPI Cards and SVG Charts in One HTML File
- Build an Empty States and Loading Skeletons Gallery in One HTML File
- Build an Interactive Habit Tracker Mobile App Prototype in One HTML File