The Quiet Portfolio: A 3D CSS Book Cover for Ebook Landing Pages
Most digital product pages look like SaaS dashboards, packed with neon gradients, pricing matrices, and noisy popups. When I tested this ebook landing page prompt, it produced the exact opposite: a calm, editorial sales page for The Quiet Portfolio by Marek Halloran, set on warm cream paper with ink typography, oxblood accents, and a three-dimensional hardcover book rendered purely in CSS. This prompt was originally published by Websiteprompts.ai, and you can inspect the finished live preview before writing a line of code.
In this tutorial, I will walk you through building, verifying, and customizing all fourteen sections using the full prompt on this page inside Lovable, Bolt, or v0. Because there is no database, checkout backend, or heavy UI library to wire up, the entire build takes about 30 minutes from initial paste to mobile polish.
What you need
- An account on Lovable, Bolt, or v0 (any one of the three works out of the box).
- The full prompt on this page, copied intact from the code block right above Step 1.
- A checkout URL from Stripe Payment Links, Lemon Squeezy, or Gumroad when you are ready to sell.
- Your own book title, chapter summaries, two short sample excerpts, and author bio for customization.
- Thirty minutes to generate the project, verify 3D transforms, and test mobile breakpoints.
The full prompt
# The Quiet Portfolio — Ebook Landing Page Website Prompt
## 1. Goal Statement
Build a focused, bookish landing page for **The Quiet Portfolio**, a self-published ebook for freelance designers — cream paper, ink black, one oxblood accent, a single narrow column, and a 3D book cover built in CSS that turns slightly as the page loads.
## 2. Tech Stack
```
React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + lucide-react
```
No component libraries, no checkout, no email capture backend. The buy button is a link.
## 3. Design System — Colors
```css
:root {
--background: hsl(42, 36%, 94%); /* cream paper */
--foreground: hsl(30, 12%, 13%); /* ink */
--primary: hsl(356, 48%, 36%); /* oxblood */
--primary-foreground: hsl(42, 36%, 96%);
--muted-foreground: hsl(30, 6%, 42%);
--border: hsl(38, 16%, 84%);
--card: hsl(40, 30%, 90%);
}
```
## 4. Typography
```html
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,500;1,300&family=Inter:wght@400;500&display=swap" rel="stylesheet" />
```
- **H1:** Spectral 500, clamp(40px, 5vw, 72px), line-height 1.1, letter-spacing -0.02em
- **H2:** Spectral 500, clamp(26px, 3vw, 40px)
- **Body:** Spectral 300, 19px, line-height 1.8 — this is a page about a book, so the body text is the design
- **Labels, price, UI:** Inter 500, 12px, uppercase, letter-spacing 0.12em
## 5. Visual Effects
**Effect 1 — CSS 3D book.** The cover is built from three divs in a 1200px perspective: the front face, a 26px spine rotated on the Y axis, and a soft shadow beneath. It starts turned at 28 degrees and settles to 14 on load. On hover it turns back to 24 degrees. No image of a mockup — the book is real geometry.
```jsx
<motion.div
style={{ transformStyle: "preserve-3d", perspective: 1200 }}
initial={{ rotateY: 28, y: 20, opacity: 0 }}
animate={{ rotateY: 14, y: 0, opacity: 1 }}
transition={{ duration: 1.1, ease: [0.22, 1, 0.36, 1] }}
className="relative h-[420px] w-[300px]"
>
<div className="absolute inset-0 rounded-r-md bg-[var(--foreground)] p-8 text-[var(--background)] shadow-2xl">
{/* cover title set in Spectral, author name at the bottom */}
</div>
<div
className="absolute left-0 top-0 h-full w-[26px] origin-left bg-[hsl(30,12%,8%)]"
style={{ transform: "rotateY(-90deg) translateZ(0)" }}
/>
</motion.div>
```
**Effect 2 — Reading progress rule.** A 2px oxblood bar fixed to the top of the viewport that fills as the visitor scrolls. It is the only piece of chrome on the page.
**Effect 3 — Marginalia.** Short notes in the left margin beside certain paragraphs on desktop, set in Inter 12px uppercase and muted, like pencil notes in a book. They fade in when their paragraph is in view. Hidden below 1024px.
## 6. Component Breakdown
1. **Progress rule** — Effect 2.
2. **Navbar** — 64px, transparent, no links. Just the book title small on the left and the price with a `Buy` text link on the right.
3. **Hero** — two columns. Left: label, H1, subline, price line, buy button and a line of reassurance. Right: the 3D book (Effect 1).
4. **The problem** — a narrow single column of three short paragraphs, with marginalia (Effect 3).
5. **What's inside** — a table of contents: seven chapters as numbered rows with a title and one line each, separated by thin rules.
6. **Sample pages** — two page spreads shown as cream cards with real body text and a small `SAMPLE` label, slightly rotated.
7. **Who it's for** — three short columns with a check icon each.
8. **About the author** — a small round portrait, three sentences, and a credential line. *Image: friendly portrait of a designer in their forties at a desk, soft daylight, muted colours.*
9. **Praise** — three quotes with name and role, set in italic Spectral.
10. **Pricing** — a single centred card: price, what you get, format list, and the buy button. One option only, deliberately.
11. **Guarantee** — one sentence in a bordered panel about refunds.
12. **FAQ** — five native `<details>` elements.
13. **Final push** — a centred H2, the book turned smaller, and a last buy button.
14. **Footer** — one line: author name, email and copyright.
## 7. Animations
- Book: Effect 1 on load, turn on hover
- Text: fade up 14px with 0.08s stagger, only once
- Marginalia: fade in from `x: -8`, 0.5s
- Chapter rows: fade in with 0.04s stagger; the row number turns oxblood on hover
- Sample cards: lift 4px and straighten on hover
- Progress rule: Effect 2
## 8. Responsive
- **Mobile (<768px):** hero stacks with the book first at 300px tall; H1 at 40px; marginalia hidden; sample spreads become a horizontal snap-scroll row; the buy button becomes sticky at the bottom of the screen after the hero scrolls out.
- **Tablet:** hero stays split 55/45; marginalia hidden.
- **Desktop:** content column max-width 720px, marginalia in a 200px left gutter, section spacing `py-24`.
## 9. Full Copy
**Book:** THE QUIET PORTFOLIO · by Marek Halloran
**Hero**
- Label: `A SHORT BOOK FOR FREELANCE DESIGNERS`
- H1: `Your portfolio is loud and it isn't working.`
- Subline: `Ninety-four pages on why the best-looking portfolios lose the best clients, and how to rebuild yours around the three projects that actually sell your work.`
- Price line: `£19 · PDF and EPUB · Read it in an evening`
- Button: `Buy the book — £19`
- Reassurance: `Instant download · Read on anything · Refund within 30 days, no questions`
**The problem** — H2 `Nobody reads a portfolio. They scan it.`
- `Most designers build a portfolio for other designers. Thirty projects, animated transitions, a case study for a logo that took a day. It looks accomplished and it converts terribly.`
- `The person hiring you is not a designer. They have eleven tabs open, six minutes, and one question: has this person solved my problem before?`
- `This book is about answering that question in twelve seconds, which is roughly how long you actually get.`
Marginalia: `The average portfolio visit lasts 47 seconds.` · `Three projects beats thirty. Every time.` · `Write for the client, not the peer.`
**What's inside** — H2 `Seven chapters, ninety-four pages.`
1. **Why thirty projects is worse than three** — `The maths of attention, and what scanning actually looks like.`
2. **Choosing the three** — `A simple test for which work to show and which to delete.`
3. **Writing the case study** — `A six-part structure you can fill in for any project in forty minutes.`
4. **The first screen** — `What to put above the fold so the wrong clients leave immediately.`
5. **Pricing on the page** — `When to show numbers, and what happens when you do.`
6. **The about page nobody writes** — `Why this is the second most visited page and usually the worst.`
7. **Sending it out** — `Cold outreach that references the work rather than describing it.`
**Sample pages** — Label `SAMPLE`
- `"Delete every project you would not want to be hired to do again. You are advertising for more of the same work, so advertise for the work you want."`
- `"A case study is not a story about you. It is evidence, arranged in the order a sceptical person needs it: problem, constraint, decision, result."`
**Who it's for**
- **Freelancers who are busy but underpaid** — `You get work, it just isn't the work you want.`
- **Designers leaving an agency** — `You have great projects you can't show and need to fix that fast.`
- **Anyone rebuilding a site this month** — `Read this before you open Figma, not after.`
**About the author** — H2 `Written by someone who got this wrong for years.`
`Marek Halloran has been a freelance designer for fourteen years, first in Dublin and now in Berlin. He rebuilt his own portfolio four times before he understood why the third version, the ugliest one, brought in three times the work.`
Credential: `Clients have included Monzo, Patagonia and two companies that no longer exist.`
**Praise**
- `"I cut twenty-two projects and doubled my rate in the same month. The book is basically a permission slip."` — **Anya Ruiz**, brand designer
- `"The case study structure alone is worth the price. I use it as a template now."` — **Tom Greening**, product designer
- `"Short, blunt, and it doesn't waste your evening."` — **Sofia Lind**, illustrator
**Pricing** — H2 `One price. One book.`
- `£19`
- `94-page PDF, formatted for reading on a laptop`
- `EPUB for e-readers`
- `The case study template as a separate file`
- `Free updates forever — version 2.1, September 2026`
- Button: `Buy the book — £19`
**Guarantee:** `If it doesn't change how you think about your portfolio, email me within thirty days and I'll refund it. You keep the files.`
**FAQ**
- **Is it a print book?** `No. PDF and EPUB only, which is why it costs £19 and not £39.`
- **How long does it take to read?** `About ninety minutes. It is deliberately short.`
- **Is this only for designers?** `Mostly. Photographers and copywriters have told me chapters two to four apply directly.`
- **Do I get updates?** `Yes, free, forever. You'll get an email when a new version goes out.`
- **Can I expense it?** `There's a proper invoice with your details on the download page.`
**Final push** — H2 `Read it tonight. Rebuild it this weekend.` Button `Buy the book — £19`
**Footer** — The Quiet Portfolio · [email protected] · © 2026 Marek Halloran
## 10. Key Dependencies
```json
{
"motion": "^12.0.0",
"lucide-react": "^0.460.0",
"clsx": "^2.1.0"
}
```1Paste the ebook landing page prompt into your AI builder
Open Lovable, Bolt, or v0 and create a new workspace. Copy the full prompt on this page and paste the entire specification into your first prompt box without trimming any sections. Supplying the complete spec at once gives the model the color variables, typography scale, motion curves, responsive rules, and all fourteen copy blocks in a single pass.
This stack uses React, Vite, TypeScript, Tailwind CSS, motion (motion/react), and lucide-react, deliberately excluding UI libraries. Skipping prebuilt component kits prevents cool-gray borders, default pill buttons, and SaaS patterns from diluting a bookish design. Leaving the buy button as a standard link also eliminates backend setup.
Once generation finishes, confirm three baseline details before inspecting individual components:
package.jsonincludesmotion,lucide-react, andclsx.- No unrequested theme toggles, search bars, or popups were invented.
- All fourteen sections render in sequence from top progress rule to footer.
Pro tip: If your AI builder tries to install older framer-motion imports, verify components import from motion/react when using motion v12.
2Verify the cream paper palette and Spectral typography
Inspect your global CSS file and index.html to verify the exact custom properties and Google Fonts import from the prompt above. Stark #ffffff backgrounds cause glare during extended reading, whereas --background: hsl(42, 36%, 94%) emulates warm uncoated paper. Paired with deep ink at --foreground: hsl(30, 12%, 13%), the page hits strong WCAG AAA contrast while feeling calm and printed.
Check that Google Fonts loads Spectral (300, 500, and 300 italic) plus Inter (400 and 500), and verify how each typeface is assigned:
- Headings:
Spectral500, with H1 set toclamp(40px, 5vw, 72px),1.1line-height, and-0.02emtracking so display serifs hold together tightly. - Body copy:
Spectral300at19pxwith1.8line-height, matching the airy cadence of a physical book page. - UI labels and pricing:
Inter500at12px, uppercase, with0.12emletter-spacing for crisp metadata contrast.
Confirm --primary: hsl(356, 48%, 36%) (oxblood) appears only on primary buttons, chapter hover states, and the scroll bar.
Pro tip: Add font-smoothing antialiased to your body tag so light-weight Spectral 300 serifs stay crisp on non-Retina monitors.
3Inspect the minimal navbar, split hero, and progress rule
Test the top reading progress rule and navbar first. A fixed 2px oxblood bar at the top edge of the viewport should fill smoothly from left to right as you scroll. Directly beneath it, the 64px transparent navbar shows only the small book title on the left and £19 with a Buy link on the right. Omitting navigation menus removes exit leaks so visitors stay focused on one decision.
Below the header, inspect the two-column hero (55/45 split on desktop and tablet). Confirm the left column renders every copy element in clean visual order:
- Uppercase
Intercategory tag (A SHORT BOOK FOR FREELANCE DESIGNERS). SpectralH1 (Your portfolio is loud and it isn't working.).- Subline explaining the ninety-four-page three-project framework.
- Format summary (
£19,PDF and EPUB) above the oxblood CTA button and 30-day refund reassurance text.
Strip out any extra hero card borders or drop shadows if the AI added them.

Pro tip: Drive the 2px top progress rule with Framer Motion useScroll and scaleX with origin-left so updates run on the GPU compositor instead of triggering React state re-renders.
4Fine-tune the CSS 3D hardcover book geometry
Rather than relying on an external mockup image, the prompt above builds a three-dimensional book cover from three HTML div layers inside a 1200px CSS perspective container. Inspect the right hero column and verify transformStyle: "preserve-3d" is applied directly on the motion.div wrapper (h-[420px] w-[300px]). If preserve-3d is missing, the spine collapses flat against the front face.
Verify all three structural details and motion values:
- Front face: Uses
inset-0,rounded-r-md, ink backgroundvar(--foreground), cream textvar(--background),shadow-2xl,Spectralcover title, andMarek Halloranaligned near the bottom edge. - Spine: A
26pxstrip pinned left (origin-left) in darker inkhsl(30, 12%, 8%)withrotateY(-90deg) translateZ(0)so it angles backward realistically. - Load and hover motion: Animates from
rotateY: 28andy: 20torotateY: 14over1.1s([0.22, 1, 0.36, 1]), then turns back to24degrees on pointer hover.
Pro tip: Wrap the motion.div inside a parent container with perspective: 1200px as well if Safari flattens the rotated spine on initial render.
5Check the problem narrative and desktop marginalia
Scroll into The problem section (Nobody reads a portfolio. They scan it.), where the page narrows to a single 720px reading column. Check that the three short paragraphs fade upward 14px with a 0.08s stagger once when entering the viewport (once: true), avoiding distracting repeat animations when readers scroll back up.
Widen your preview past 1024px to inspect the marginalia inside the 200px left gutter. Short editorial notes such as The average portfolio visit lasts 47 seconds. and Write for the client, not the peer. should sit beside their matching paragraphs in 12px uppercase muted Inter (--muted-foreground). This borrows directly from classic book design, adding scannable proof without interrupting paragraph flow.
Verify two layout rules if your AI output drifts:
- Keep the
720pxprose column optically centered on desktop rather than letting the200pxgutter shove text rightward. - Animate each note from
x: -8over0.5sand hide all marginalia below1024px(hidden lg:block).
Pro tip: Position each marginalia note absolutely at -left-56 with w-48 inside a relative paragraph wrapper so the main 720px column stays dead center.
6Audit the chapter list, sample spreads, and audience fit
Examine What's inside, Sample pages, and Who it's for in the middle of the page. The table of contents lists seven numbered chapters separated by 1px var(--border) rules, fading in with a 0.04s stagger. Hover over each row to confirm the chapter number shifts to oxblood (var(--primary)), rewarding cursor exploration without moving layout geometry.
Next, inspect the two sample page cards styled with --card (hsl(40, 30%, 90%)) and small uppercase SAMPLE headers. Giving each card a subtle resting tilt (-1.5deg and 1.5deg) breaks vertical monotony and mimics printed spreads resting on a table. Hover each card and confirm it lifts 4px (y: -4) while straightening to 0deg. Real excerpts prove the author's voice immediately.
Underneath the spreads, verify the three-column Who it's for grid pairs an oxblood lucide-react check icon with each freelancer persona and single-sentence problem summary.

Pro tip: Add tabular-nums to the chapter index numbers so 01 through 07 align vertically down to the pixel.
7Review the author bio, italic praise, and single-tier pricing
Continue down to About the author, Praise, and Pricing. Because the book cover is pure CSS, the small round portrait in Marek Halloran's bio is the sole raster image on the page. Check that the generated portrait uses soft daylight and muted tones; if the AI inserts an overly vivid stock headshot, add saturate-50 or grayscale in Tailwind so it blends naturally with the cream paper alongside the Dublin, Berlin, Monzo, and Patagonia copy.
Review the three Praise quotes from Anya Ruiz, Tom Greening, and Sofia Lind. Setting endorsements in Spectral 300 italic without SaaS avatar badges or star ratings makes them feel like genuine paperback blurbs.
Below that, inspect the centred Pricing card (One price. One book.). Presenting a single £19 offer with PDF, EPUB, case study template, and free version 2.1 updates eliminates comparison paralysis and focuses buyer momentum on one CTA.

Pro tip: Set explicit width and height attributes plus loading="lazy" on the author portrait so it never triggers Cumulative Layout Shift.
8Test the guarantee, native FAQ, and closing push
Check the closing trust and conversion blocks: Guarantee, FAQ, Final push, and Footer. Confirm the 30-day refund note sits inside a clean 1px var(--border) box with ample whitespace and no clip-art seal icons. Telling buyers directly that they keep the files even after a refund lowers purchase anxiety right below the pricing card.
Inspect the five FAQ items and verify the AI used native HTML <details> and <summary> tags instead of custom React state. Native disclosure elements bring three practical benefits:
- Built-in keyboard navigation with
Tab,Enter, andSpace. - Automatic screen-reader expanded state announcements.
- Zero JavaScript bundle cost for accordion toggles.
Test keyboard focus-visible rings against --background to make sure outlines stay crisp. Then verify the centred Final push (Read it tonight. Rebuild it this weekend.), featuring a smaller CSS 3D book, final £19 button, and single-line email and copyright footer.

Pro tip: Add cursor-pointer and list-none to each summary tag if you replace the default browser marker with a custom plus icon.
9Verify mobile breakpoints, snap-scroll cards, and sticky CTA
Switch your preview viewport across tablet (768px to 1023px) and mobile (<768px) to confirm the responsive behaviors defined in the prompt above. On tablet widths, the hero retains its 55/45 two-column split while keeping marginalia hidden so side gutters never clip.
At mobile widths under 768px, test four mobile-specific adaptations:
- Hero stacking: The 3D book renders first at
300pxtall above the copy, and H1 scales cleanly down to40px. - Snap-scroll spreads: The two sample page cards switch to a horizontal swipe track using
flex overflow-x-auto snap-x snap-mandatoryso readers can flick between excerpts comfortably on a thumb screen. - Sticky bottom CTA: Once the hero buy button scrolls above the viewport, a fixed bottom purchase bar appears (
IntersectionObserveror scroll listener) so buyers never have to hunt for the checkout link. - Compact spacing: Large desktop
py-24vertical padding tightens topy-14orpy-16for comfortable thumb scrolling.
Pro tip: Add pb-24 to the footer on mobile viewports so the fixed bottom buy bar never covers Marek's contact email at the bottom of the page.
Adapt it to your own brand
- Swap the book identity and copy in one prompt turn by replacing the title, author name, seven chapter rows, two sample excerpts, and five FAQ answers with your own manuscript details.
- Change
--primaryin:rootfrom oxblood (hsl(356, 48%, 36%)) to deep forest green (hsl(158, 42%, 26%)) or navy ink (hsl(218, 48%, 28%)) to suit finance, engineering, or leadership books while keeping the cream paper base. - Point a single
CHECKOUT_URLconstant at a Lemon Squeezy, Gumroad, or Stripe Payment Link URL so all five buy buttons across desktop and mobile update together. - Adjust the 3D spine width from
26pxdown to14pxfor a short handbook or up to38pxfor a comprehensive 300-page manual. - Repurpose the two rotated sample page cards to showcase framework diagrams, code snippets, or worksheet previews if you are selling a technical playbook or Notion template.
- Add a subtle
prefers-reduced-motioncheck around the 3D book turn and staggered fade-ups so motion-sensitive visitors get an instant static layout.
Common mistakes and fixes
- Flat book spine in the hero: happens when the AI omits
transformStyle: "preserve-3d"on the book wrapper or setsoverflow: hiddenon the same element; moveoverflowclipping to inner child faces only. - Horizontal scrollbar on laptops: caused by left-gutter marginalia overflowing
1024pxviewports; keep marginaliahiddenbelowlg(1024px) orxl(1280px) until sufficient margin space exists. - Tiny, cramped body paragraphs: happens when Tailwind defaults override the
19pxfont size and1.8line-height; explicitly applytext-[19px] leading-[1.8]to long-formSpectralprose. - Mobile sticky bar showing over the hero: happens when the AI renders
fixed bottom-0unconditionally; attach anIntersectionObserverto the hero section so the bar only appears after the hero exits. - Rotated sample cards clipping on mobile swipe: add
py-4 px-4breathing room inside theoverflow-x-autotrack so tilted card corners and hover lifts are never cut off.
Frequently asked questions
Which AI website builders work best with this ebook landing page prompt?
This prompt works directly in Lovable, Bolt, and v0 without extra setup. Because the architecture relies on standard React, Vite, TypeScript, Tailwind CSS, and Framer Motion with zero external UI component libraries or database dependencies, all three tools compile the fourteen sections and CSS 3D hardcover book reliably on the first generation.
Do I need to design a 3D book mockup image beforehand?
No mockup graphics or Photoshop templates are needed. The hardcover book is built in real browser geometry using three HTML divs inside a 1200px CSS perspective container, displaying your title and author name in live Spectral text. Only the small circular author bio uses an image, which the AI generates from plain text.
How do I connect a real checkout to the buy buttons?
The prompt intentionally outputs every buy button as a simple anchor link so you avoid maintaining a payment backend. Paste your Stripe Payment Link, Lemon Squeezy checkout URL, or Gumroad product link into a single shared constant and bind it to the navbar, hero, pricing card, final push, and mobile sticky buttons.
Can I adapt this layout for a technical guide, report, or mini-course?
Yes. Every piece of sales copy in the prompt is written out explicitly so you can swap in your own title, price, chapter breakdown, sample excerpts, reader quotes, refund terms, and FAQ items. You can also adjust the oxblood accent token in CSS root variables to match your brand palette in seconds.
Final thoughts
A high-converting book page does not need heavy JavaScript bundles, video backgrounds, or three competing pricing tiers. By pairing warm cream paper contrast, generous Spectral typography, a lightweight CSS 3D hardcover, and disciplined single-column copy, this architecture puts every ounce of focus on your writing and offer. Once your layout passes the desktop marginalia and mobile sticky-bar checks, wire your checkout URL into the buy buttons and ship it. Scroll back up, copy the prompt above on this page, paste it into Lovable, Bolt, or v0, and build your own version today.