Split night hero with REC overlay
Five to seven split: Didone capitals on near black beside a full-height portrait, with a record label and a timecode set over the photo.
Links in the preview stay on the block.
Open on its ownThe prompt
One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.
567 words
# Split night hero with REC overlay One hero section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML. ## Goal A first screen for a night-wear label that leads with the headline and lets one strong portrait carry the mood. ## Structure 1. two columns, 5fr and 7fr, full viewport height under the header 2. left: timecode line with a play triangle, three line headline, one sentence, a red pill button and a text link, all anchored to the bottom 3. right: portrait photo cover-fit, REC with a white square at bottom left and a timecode at bottom right ## Type Libre Bodoni 600 capitals clamp(52px, 6.4vw, 104px)/0.9, each line its own block. Spline Sans 18px sentence. VT323 20px timecode line, 24px overlay text. Buttons Spline Sans 500 14px capitals at 0.08em. ## Colour Ground #0B0B0D, headline #EDEBE6, sentence #CFCCC6, timecode #5FD3E6, overlay #FFFFFF, button #D7192A with white text, link hover #5FD3E6. The photo area behind loading is #B0101C so a red backdrop photo arrives without a flash. ## Spacing and lines Height calc(100svh minus the header), at least 620px, at most 1000px. Left padding 104px top, 32px sides, 64px bottom. Sentence 32ch, 16px above it, 40px below. Overlay inset 24px. ## Behaviour The photo wipes in from the top (clip-path inset from 100 percent to 0) over 900ms cubic-bezier(0.76, 0, 0.24, 1) once fonts are ready. Headline lines rise 18px and fade in with 100ms steps. The play triangle is a clip-path polygon, not borders. ## Responsive Under 900px the photo becomes a 62svh block above the text and the hero height is automatic. ## Accessibility One h1. The overlay is aria-hidden. The photo has a plain description. Reduced motion: no wipe, no rise. ## Built values (from code.html) - Fonts: Libre Bodoni 500 to 600 (self-hosted: fonts/bodoni.woff2); Spline Sans 400 to 500 (self-hosted: fonts/spline.woff2); VT323 400 (self-hosted: fonts/vt323.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --tape #0B0B0D, --stage #131317, --line #2A2A30, --phos #EDEBE6, --static #8F8C86, --red #D7192A, --red-hi #E8303F, --blue #2E46FF, --cyan #5FD3E6, --white #FFFFFF. - Font variables: --didone "Libre Bodoni", "Bodoni 72", "Didot", Georgia, serif; --sans "Spline Sans", "Helvetica Neue", Arial, sans-serif; --osd "VT323", "Courier New", monospace. - Size variables: --s1 4px, --s2 8px, --s3 16px, --s4 24px, --s5 40px, --s6 64px, --s7 104px, --s8 168px. - Media queries: max-width 720px, max-width 899px, prefers-reduced-motion. - Media: assets/hero-900.avif (900x1392), assets/hero-900.webp (900x1392). - Script: none, CSS only. ## Content to replace - [Headline]: four words in three lines - [Sentence]: what the clothes are and who they are for - [Photo]: a portrait with a strong coloured backdrop - [Timecode]: a short tape label ## Rules Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA. ## Output Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.
Media to supply
The photos and video on the live page are licensed for this showcase, so the code points at an assets folder instead. Drop your own files in with these names, or change the paths: hero-900.avif, hero-1400.avif, hero-900.webp, hero-1400.webp
More like this
Hero
Same page







