Pull quote
One large serif quotation centred on a full-width dark band, with a short attribution under a small accent rule. Use it to break up a long page with a single memorable line. One quote per band; make it short enough to read at a glance.
<section class="blk-section blk-dark blk-pullquote" aria-label="Pull quote">
<div class="blk-container">
<figure class="blk-pullquote__fig">
<blockquote class="blk-pullquote__text">
<p>The best part of the whole trip was the hour we spent with nothing planned.</p>
</blockquote>
<figcaption class="blk-pullquote__by">A traveller, on the slow route</figcaption>
</figure>
</div>
</section>.blk-pullquote { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(320px, 52vw, 560px); background: radial-gradient(120% 120% at 20% 0%, var(--blk-panel-2), var(--blk-deep)); }
.blk-pullquote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.blk-pullquote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,12,18,.5); }
.blk-pullquote .blk-container { display: flex; justify-content: center; }
.blk-pullquote__fig { margin: 0; text-align: center; max-width: 22ch; }
.blk-pullquote__text { margin: 0; }
.blk-pullquote__text p { font-family: var(--blk-font-serif); font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.15; color: var(--blk-on-dark); text-wrap: balance; }
.blk-pullquote__by { margin-top: 24px; font-family: var(--blk-font-heading); font-size: .9rem; font-weight: 500; color: var(--blk-on-dark-muted); }
.blk-pullquote__by::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--blk-on-dark-accent); margin: 0 auto 16px; }How to customise it
- For a photo background add
<img src="..." alt="">as the first child of the section: the CSS covers the band with it and adds a dark veil so the text stays readable. - Keep the quote under about fifteen words. The width is capped so it breaks into short, balanced lines.
- Change the gradient by swapping
--blk-panel-2for--blk-panel-1,--blk-panel-3or--blk-panel-4. - Leave the attribution out entirely if the quote is your own words.
Tokens it reads
--blk-panel-2--blk-deep--blk-on-dark--blk-on-dark-muted--blk-on-dark-accent--blk-font-serif--blk-font-headingAdd the "Pull quote" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/pull-quote) to my page. Link https://resources.productscope.uk/blocks/blocks/kit/blocks.css once. Paste the HTML from https://resources.productscope.uk/blocks/blocks/kit/blocks/pull-quote.html and replace the placeholder text with my real content. Do not change the class names, add inline styles or add scripts. To change colours or fonts, override the --blk- variables in my own CSS. Do not invent facts, clients or numbers.