StyleKit

Magazine Grid

杂志网格布局

Rate this style

Multi-column grid layout inspired by print magazines, creating rich visual hierarchy through varied content block sizes. Ideal for news, blogs, and content aggregation.

magazine gridmagazine layouteditorial designmulti-column gridCSS gridnews website designblog layoutfeatured articlevisual hierarchyprint-inspiredresponsive grid

Best For

magazine grid / magazine layout / editorial design

Primary Move

Use CSS Grid to create complex grids grid-template-areas

Watch Out

Do not make all content blocks the same size

design.md

Magazine Grid as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Magazine Grid — Style Reference

The layout does the talking: big blocks carry the lead story, small ones fill in, and size is priority.

Theme: light

Magazine Grid carries print layout logic onto the page: grid-template-areas draws blocks of unequal size, the lead takes 2×2, the second feature 2×1, briefs 1×1, and importance is legible at a glance. Three rules hold it — no two blocks may share a size, since that erases hierarchy; image crops must stay consistent or the grid warps; and body paragraphs never take displacement animation, because reading stability outranks flourish. Title hover only changes color, never glow or shadow.

Colors

NameValueTokenRole
Ink#1a1a1a--color-inkHeadings and body — a newsprint dark grey, easy over long reading.
Paper#fafafa--color-paperThe page ground — near white without glare, letting images carry contrast.
Red#e63946--color-redLead markers and section labels — the loudest color on the page.
Teal#2a9d8f--color-tealSecondary categories and culture sections.
Gold#e9c46a--color-goldPull-quote grounds and highlights, marking a passage worth reading alone.
Navy#264653--color-navyLong reads and feature labels, used less than red and teal.

Typography

Playfair Display — Headings in serif. Hierarchy comes from size and column width; the face only supplies the print feel.
  • Substitute: Georgia, 'Songti SC', serif
  • Weights: 400, 700, 900
  • Sizes: 16, 20, 28, 40, 56
  • Line height: 1.05 (display), 1.15 (headings), 1.7 (body)
  • Letter spacing: -0.02em on display, 0.1em on uppercase labels
Inter — Body, labels and metadata — the sans body against the serif heading is where the magazine feel lives.
  • Substitute: system-ui, 'Segoe UI', sans-serif
  • Weights: 400, 500
  • Sizes: 12, 13, 15
  • Line height: 1.4 (display), 1.4 (headings), 1.7 (body)
  • Letter spacing: 0 on display, 0.1em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
displayPlayfair Display90056px1.05-0.02em--text-display
heading-lgPlayfair Display70040px1.1—--text-heading-lg
headingPlayfair Display70028px1.2—--text-heading
subheadingPlayfair Display40020px1.3—--text-subheading
bodyInter40015px1.7—--text-body
labelInter50012px1.40.1em--text-label

Spacing & Layout

Base unit: 8px Density: comfortable

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
Border Radius
ElementValue
cards8px
buttons4px
images4px
  • Page max-width: 1280px
  • Section gap: 64px
  • Card padding: 24px
  • Element gap: 16px

Components

Lead Block

Role: The lead block at 2×2

Two columns by two rows, holding a 16:9 image on a 4px radius with a fixed crop, then a 40px/700 serif headline and a 20px standfirst of two lines at most. A 12px uppercase 0.1em red section label sits top-left. No shadow anywhere on the block.

Brick Block

Role: Secondary and brief blocks

1×1 or 2×1 with images locked to 1:1 or 4:3 — equal-sized blocks must share a ratio. Headline at 28px/700 in both cases, description at 15px on 1.7 leading, three lines at most. Label color is fixed by section: teal for culture, navy for long reads.

Pull Quote

Role: The pull quote

A gold ground (25% #e9c46a) or a solid gold block on a 4px radius with 24px padding. The quote runs 28px serif italic at 1.4 leading, with a 13px sans attribution beneath. Reserved for the one passage worth reading on its own, at most one per screen.

Section Label

Role: Section and category labels

12px/500, uppercase, 0.1em tracking, no ground and no border. Colors are fixed per section and never swapped: red for leads, teal for culture, navy for long reads, ink for opinion. The label always sits 8px above the headline.

Title Hover

Role: The title hover rule

Hover changes the headline to its section's accent in 120ms — no underline, no shadow, no glow, no movement. That is this style's definition of crisp.

Do's and Don'ts

Do
  • Build hierarchy with unequal blocks
  • Equal blocks share one image ratio
  • Fix label color per section
  • Title hover changes color only, in 120ms
  • Body at 1.7 leading with 16px between paragraphs
  • Reduce columns on mobile and drop spans
Don't
  • Never give every block one size
  • Do not skip mobile adaptation
  • Do not overcrowd the grid
  • Do not mix section label colors
  • Do not ignore crop ratios
  • Never animate body text displacement

Surfaces

LevelNameValuePurpose
0Paper#fafafa页面底
1Card White#ffffff内容块
2Gold Quote#e9c46a引文块

Elevation

  • None: none — the grid does the separating
  • Card hover: 0 4px 16px rgba(26,26,26,0.08)

Imagery

News and editorial photography with locked crop ratios (16:9 for leads, 1:1 or 4:3 for small blocks). People, scenes and charts all work. No illustration or decorative graphics.

Layout

Capped at 1280px with 24px padding over a four-column grid at 24px gutters, with grid-template-areas spelling out the layout. Sections sit 64px apart. Below 1024px it drops to two columns, and below 768px everything stacks with the lead no longer spanning.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #1a1a1a
  • background: #fafafa
  • card: #ffffff
  • red: #e63946
  • teal: #2a9d8f
  • gold: #e9c46a

EXAMPLE COMPONENT PROMPTS:

  1. Build a magazine grid: four columns at 24px gutters defined with grid-template-areas. The lead spans 2×2 (a 16:9 image, a 40px/700 serif headline, a two-line 20px standfirst, and a 12px uppercase 0.1em red section label). Remaining blocks are 1×1 or 2×1 (1:1 or 4:3 image, 28px/700 headline, 15px body on 1.7 leading). Add a pull quote on a 25% #e9c46a ground in 28px serif italic. Title hover changes only the color to its section accent over 120ms, with no shadow and no glow.

Similar Brands

  • Editorial — Both print-derived, though editorial emphasizes whitespace and single-article rhythm while this allocates a whole page
  • Bento Grid — Both use unequal cells, though bento is modern product language while this is newsroom editing

Quick Start


:root {
  /* Colors */
  --color-ink: #1a1a1a;
  --color-paper: #fafafa;
  --color-red: #e63946;
  --color-teal: #2a9d8f;
  --color-gold: #e9c46a;
  --color-navy: #264653;

  /* Typography — Font Families */
  --font-serif: 'Playfair Display', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 56px;
  --leading-display: 1.05;
  --tracking-display: -0.02em;
  --text-heading-lg: 40px;
  --leading-heading-lg: 1.1;
  --text-heading: 28px;
  --leading-heading: 1.2;
  --text-subheading: 20px;
  --leading-subheading: 1.3;
  --text-body: 15px;
  --leading-body: 1.7;
  --text-label: 12px;
  --leading-label: 1.4;
  --tracking-label: 0.1em;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-96: 96px;

  /* Layout */
  --page-max-width: 1280px;
  --section-gap: 64px;
  --card-padding: 24px;
  --element-gap: 16px;
  --density: comfortable;

  /* Border Radius */
  --radius-cards: 8px;
  --radius-buttons: 4px;
  --radius-images: 4px;

  /* Surfaces */
  --surface-paper: #fafafa;
  --surface-card-white: #ffffff;
  --surface-gold-quote: #e9c46a;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

Technology

FAQ

Magazine Grid — Frequently Asked Questions

What is the Magazine Grid design style?
Multi-column grid layout inspired by print magazines, creating rich visual hierarchy through varied content block sizes. Ideal for news, blogs, and content aggregation. Its core principle: Magazine Grid borrows the typographic wisdom of traditional print magazines, creating professional editorial effects through multi-column and mixed-size content blocks.
What colors does Magazine Grid use?
Magazine Grid uses #1a1a1a as its primary color and #fafafa as its secondary color, with accent colors #e63946, #2a9d8f, #e9c46a, #264653. Every hex value can be copied from the palette on this page.
How do I apply Magazine Grid correctly?
Key practices: Use CSS Grid to create complex grids grid-template-areas. Featured content uses larger grid areas col-span-2 row-span-2. Maintain baseline alignment and consistent spacing.
What are common mistakes with Magazine Grid?
Avoid: Do not make all content blocks the same size. Do not ignore mobile layout adaptation. Do not overcrowd content without whitespace.
How do I prompt AI to generate Magazine Grid UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: magazine grid, magazine layout, editorial design, multi-column grid.
Global Styles

Global CSS

css
/* Magazine Grid Global Styles */

/* Base magazine grid */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .magazine-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Featured item spans */
.magazine-featured {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 767px) {
  .magazine-featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Article card styles */
.magazine-article {
  position: relative;
}

.magazine-article img {
  transition: transform 0.3s ease;
}

.magazine-article:hover img {
  transform: scale(1.05);
}

/* Category tags */
.magazine-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.25rem;
}

/* Category colors */
.magazine-category-tech { color: #3b82f6; background: #eff6ff; }
.magazine-category-business { color: #10b981; background: #ecfdf5; }
.magazine-category-culture { color: #f59e0b; background: #fffbeb; }
.magazine-category-opinion { color: #8b5cf6; background: #f5f3ff; }
.magazine-category-featured { color: white; background: #dc2626; }

/* Line clamp for excerpts */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Magazine Grid Design Tokens */
:root {
  --magazine-grid-primary: #1a1a1a;
  --magazine-grid-secondary: #fafafa;
  --magazine-grid-accent: #e63946;
  --magazine-grid-glow: rgba(26, 26, 26, 0.3);
}

@keyframes magazine-grid-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes magazine-grid-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.magazine-grid-card {
  position: relative;
  overflow: hidden;
}

.magazine-grid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.05), transparent);
  pointer-events: none;
}

.magazine-grid-card:hover::before {
  opacity: 1;
}

.magazine-grid-gradient {
  background: linear-gradient(135deg, #1a1a1a, #e63946);
}

.magazine-grid-gradient-text {
  background: linear-gradient(135deg, #1a1a1a, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.magazine-grid-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(26, 26, 26, 0.08);
}

.magazine-grid-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.magazine-grid-animate-in {
  animation: magazine-grid-fade-in 0.5s ease-out both;
}

Compatible Visual Styles

Try Pairing

Magazine Grid is a layout pattern that can be paired with the following visual styles.

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

Magazine Grid and Bento Grid sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.

AttributeMagazine GridBento Grid
Primary color#1a1a1a#18181b
Secondary color#fafafa#fafafa
Best formagazine grid / magazine layout / editorial designbento grid / bento layout / bento box design
Unique tags——
Design Philosophy

Magazine Grid borrows the typographic wisdom of traditional print magazines, creating professional editorial effects through multi-column and mixed-size content blocks.

Design Recipes

Recommended Combinations with Magazine Grid

These curated recipes combine this style with layouts and animations, optimized for specific use cases.