Section

News Layout — Editorial

Editorial blog layout: News layout.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/sections/blog/editorial/
fluid · no fixed width 100%
Dependencies: Tailwind CSS (CDN) · Google Fonts Responsive

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Blog/editorial
registry path: Tailwind/Sections/Blog/editorial

Source

Implementation

code.html
<!--
Snippet Name: News Layout — Editorial
Description: Editorial blog layout: News layout.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->

<style>
  /* DevSnips style-helper classes (self-contained snippet) */
  .f-sans{font-family:'Inter',sans-serif}.f-mono{font-family:'Inter',sans-serif}.f-disp{font-family:'Fraunces',serif}
</style>
<section class="relative w-full py-20 sm:py-28 text-[#1c1917]" data-section="editorial">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="mb-10 text-center mx-auto"><p class="mb-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/></svg> Blog</span></p><h2 class="f-disp text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-center mx-auto">Ideas worth your time</h2><p class="mt-4 max-w-2xl text-center mx-auto text-base sm:text-lg leading-relaxed text-[#78716c]">Essays on building support that respects everyone's time.</p></div><div class="grid grid-cols-1 gap-5 lg:grid-cols-4"><article class="lg:col-span-2 lg:row-span-2 bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/10] relative overflow-hidden" style="background:linear-gradient(135deg,#6366f1,#8b5cf6)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Engineering</span></div><div class="p-6"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-3 inline-flex">Engineering</span><h3 class="f-disp text-xl font-bold leading-tight">How we cut our reply time to under 2 minutes</h3><div class="mt-5 flex items-center gap-3"><span class="inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-full text-white font-semibold text-sm h-9 w-9" style="background:linear-gradient(135deg,#f97316,#ef4444)" aria-hidden="true">MC</span><div class="text-xs"><p class="font-medium">Maya Chen</p><p class="text-[#78716c]">2026-07-28 · 8 min read</p></div></div></div></article><article class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/9] relative overflow-hidden" style="background:linear-gradient(135deg,#06b6d4,#3b82f6)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Design</span></div><div class="p-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-1.5 inline-flex">Design</span><h3 class="font-semibold text-sm leading-snug">Designing a support workspace that feels calm</h3></div></article><article class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/9] relative overflow-hidden" style="background:linear-gradient(135deg,#ec4899,#f43f5e)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Product</span></div><div class="p-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-1.5 inline-flex">Product</span><h3 class="font-semibold text-sm leading-snug">The hidden cost of context switching</h3></div></article><article class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/9] relative overflow-hidden" style="background:linear-gradient(135deg,#f59e0b,#eab308)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Operations</span></div><div class="p-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-1.5 inline-flex">Operations</span><h3 class="font-semibold text-sm leading-snug">Scaling support without scaling headcount</h3></div></article><article class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/9] relative overflow-hidden" style="background:linear-gradient(135deg,#10b981,#22c55e)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Engineering</span></div><div class="p-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-1.5 inline-flex">Engineering</span><h3 class="font-semibold text-sm leading-snug">Why we rewrote our queue in Rust</h3></div></article><article class="bg-[#fffdf8] border border-[#1c1917]/10 rounded-sm transition-colors hover:border-[#1c1917]/25 overflow-hidden"><div class="aspect-[16/9] relative overflow-hidden" style="background:linear-gradient(135deg,#8b5cf6,#6366f1)"><div class="absolute inset-0 opacity-20" style="background-image:radial-gradient(circle at 30% 20%, #fff 0, transparent 40%)"></div><span class="absolute bottom-3 left-3 inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c]">Customer Stories</span></div><div class="p-4"><span class="inline-flex items-center gap-1.5 rounded-sm border border-[#1c1917]/15 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-[#78716c] mb-1.5 inline-flex">Customer Stories</span><h3 class="font-semibold text-sm leading-snug">Onboarding 200 contractors in an afternoon</h3></div></article></div>
</div>
</section>
16 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This section is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://sections/blog/editorial

Continue browsing

View all