Closing call to action
A full-width coloured band that closes a page: a question or promise on the left, the main action on the right. End every page with it. One band, one action. Do not repeat it in the middle of the page.
← All blocks
<section class="blk-section blk-dark blk-cta" aria-labelledby="blk-cta-title">
<div class="blk-container">
<div class="blk-cta__row">
<div class="blk-cta__text">
<h2 id="blk-cta-title">Working on something that needs to work better?</h2>
<p>Tell me what you are trying to do and I will help work out the right approach, then take it into delivery.</p>
</div>
<div class="blk-btn-row">
<a class="blk-btn blk-btn--primary" href="#">Get in touch</a>
<a class="blk-btn blk-btn--outline" href="#">See how I work</a>
</div>
</div>
</div>
</section>.blk-cta { background: var(--blk-cta); color: var(--blk-on-dark); }
.blk-cta h2 { color: var(--blk-on-dark); margin-bottom: .4em; }
.blk-cta p { color: var(--blk-on-dark-muted); }
.blk-cta__row { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.blk-cta__text { max-width: 820px; }
.blk-cta .blk-btn-row { flex: 0 0 auto; }
@media (max-width: 820px) { .blk-cta__row { flex-direction: column; align-items: flex-start; gap: 26px; } }How to customise it
- Write the heading as the situation the visitor is in, then the paragraph as what happens next.
- On the dark band the filled button turns white with accent text, so it always has contrast. Change the band colour with
--blk-cta. - Keep to one filled button and at most one outline button.
- The text sits left and the buttons right on desktop. On a phone they stack.
Tokens it reads
--blk-cta--blk-accent--blk-on-dark--blk-on-dark-mutedAdd the "Closing call to action" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/cta-band) 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/cta-band.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.