Article cards
A grid of article cards, each with a picture, a date, a title and a summary, plus a row of topic pills above it. Three columns on desktop, one on a phone. Use it for a blog index or a short list of recent articles on the home page. Three or six cards look best.
<section class="blk-section" aria-labelledby="blk-cards-h">
<div class="blk-container">
<header class="blk-head">
<div class="blk-head__main">
<h2 id="blk-cards-h">Latest articles</h2>
<p>Short, practical write-ups of what I learned doing the work.</p>
</div>
<a class="blk-btn blk-btn--outline blk-head__btn" href="#">All articles</a>
</header>
<ul class="blk-pills" aria-label="Topics">
<li><a href="#" aria-current="page">All</a></li>
<li><a href="#">Product</a></li>
<li><a href="#">Automation</a></li>
<li><a href="#">AI</a></li>
</ul>
<div class="blk-cards">
<article class="blk-card">
<div class="blk-card__media blk-card__media--1"></div>
<div class="blk-card__body">
<p class="blk-card__date">12 November 2026</p>
<h3><a href="#">A short title that says what the article is about</a></h3>
<p>One or two sentences that tell the reader what they will learn and why it is worth their time.</p>
<span class="blk-card__more" aria-hidden="true">Read article</span>
</div>
</article>
<article class="blk-card">
<div class="blk-card__media blk-card__media--2"></div>
<div class="blk-card__body">
<p class="blk-card__date">5 November 2026</p>
<h3><a href="#">Another practical article with a clear, specific title</a></h3>
<p>A summary that names the problem and hints at the answer without giving it all away.</p>
<span class="blk-card__more" aria-hidden="true">Read article</span>
</div>
</article>
<article class="blk-card">
<div class="blk-card__media blk-card__media--3"></div>
<div class="blk-card__body">
<p class="blk-card__date">29 October 2026</p>
<h3><a href="#">A third article, written the same plain way</a></h3>
<p>Keep it factual. Say what was done, what happened and what you would do next.</p>
<span class="blk-card__more" aria-hidden="true">Read article</span>
</div>
</article>
</div>
</div>
</section>.blk-pills { list-style: none; margin: 0 0 clamp(26px, 4vw, 40px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.blk-pills a { display: inline-flex; padding: 8px 18px; border: 1.5px solid var(--blk-line); border-radius: 999px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-heading); text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.blk-pills a:hover { border-color: var(--blk-accent); color: var(--blk-accent); }
.blk-pills a[aria-current="page"] { background: var(--blk-accent); border-color: var(--blk-accent); color: var(--blk-on-accent); }
.blk-cards { display: grid; gap: 26px; }
.blk-card { position: relative; display: flex; flex-direction: column; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.blk-card:hover { transform: translateY(-4px); box-shadow: var(--blk-shadow); }
.blk-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 100% at 0% 0%, var(--card, var(--blk-panel-1)), var(--blk-dark)); }
.blk-card__media--1 { --card: var(--blk-panel-1); }
.blk-card__media--2 { --card: var(--blk-panel-2); }
.blk-card__media--3 { --card: var(--blk-panel-3); }
.blk-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blk-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blk-card__date { font-size: .82rem; color: var(--blk-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.blk-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; }
.blk-card h3 a { color: var(--blk-heading); text-decoration: none; }
.blk-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blk-card:hover h3 a { color: var(--blk-accent); }
.blk-card h3 a:focus-visible { outline: none; }
.blk-card:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; }
.blk-card__body p { font-size: .95rem; margin-bottom: 16px; }
.blk-card__more { margin-top: auto; align-self: flex-start; padding: 8px 18px; border: 2px solid var(--blk-accent); border-radius: 4px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-accent); transition: background .2s ease, color .2s ease; }
.blk-card:hover .blk-card__more { background: var(--blk-accent); color: var(--blk-on-accent); }
@media (min-width: 720px) { .blk-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blk-cards { grid-template-columns: repeat(3, 1fr); } }How to customise it
- Replace a card's gradient picture with an img as the first child of blk-card__media. Give it a 16 to 10 shape.
- The whole card is one link, through the title. Do not add a second link inside it.
- The topic pills are plain links. Mark the current topic with aria-current="page" to fill it.
- Keep titles under about ten words and summaries to one or two sentences.
Tokens it reads
--blk-surface--blk-line--blk-accent--blk-heading--blk-muted--blk-radius--blk-shadow--blk-panel-1--blk-panel-2--blk-panel-3Add the "Article cards" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/post-cards) 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/post-cards.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.