22 CSS Dropdown Menu Designs 13 / 22

Split-Screen Mega Menu Dropdown

A full-width two-column mega menu with a rich image panel on the left and categorized links on the right, revealing with a smooth fade-up transition.

Pure CSS MIT licensed
Live Demo Open in tab
Open in playground

The code

<div class="dd-13">
  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
  <div class="dd-13__wrap">
    <nav class="dd-13__nav">
      <a href="#" class="dd-13__brand">Meridian</a>
      <div class="dd-13__items">
        <div class="dd-13__item">
          <a href="#" class="dd-13__trigger">Collections ▾</a>
          <div class="dd-13__mega">
            <div class="dd-13__visual">
              <p class="dd-13__vis-label">Season Highlight</p>
              <p class="dd-13__vis-title">Summer Capsule 2025</p>
              <p class="dd-13__vis-sub">Refined essentials for the modern wardrobe.</p>
              <a href="#" class="dd-13__vis-cta">Explore Now &#8594;</a>
            </div>
            <div class="dd-13__links">
              <div class="dd-13__group">
                <p class="dd-13__group-heading">Women</p>
                <a href="#" class="dd-13__link">Ready to Wear</a>
                <a href="#" class="dd-13__link">Accessories</a>
                <a href="#" class="dd-13__link">Footwear</a>
              </div>
              <div class="dd-13__group">
                <p class="dd-13__group-heading">Men</p>
                <a href="#" class="dd-13__link">Tailoring</a>
                <a href="#" class="dd-13__link">Casual</a>
                <a href="#" class="dd-13__link">Sport</a>
              </div>
            </div>
          </div>
        </div>
        <div class="dd-13__item">
          <a href="#" class="dd-13__trigger">Stories ▾</a>
          <div class="dd-13__mega">
            <div class="dd-13__visual" style="background: linear-gradient(145deg, #065f46 0%, #047857 50%, #10b981 100%)">
              <p class="dd-13__vis-label">From the Journal</p>
              <p class="dd-13__vis-title">The Art of Slow Fashion</p>
              <p class="dd-13__vis-sub">Conscious design for the discerning eye.</p>
              <a href="#" class="dd-13__vis-cta">Read Story &#8594;</a>
            </div>
            <div class="dd-13__links">
              <div class="dd-13__group">
                <p class="dd-13__group-heading">Editorials</p>
                <a href="#" class="dd-13__link">Photography</a>
                <a href="#" class="dd-13__link">Film</a>
                <a href="#" class="dd-13__link">Interviews</a>
              </div>
              <div class="dd-13__group">
                <p class="dd-13__group-heading">Craft</p>
                <a href="#" class="dd-13__link">Materials</a>
                <a href="#" class="dd-13__link">Atelier</a>
              </div>
            </div>
          </div>
        </div>
        <a href="#" class="dd-13__plain">World</a>
        <a href="#" class="dd-13__plain">Services</a>
      </div>
    </nav>
  </div>
</div>
.dd-13, .dd-13 *, .dd-13 *::before, .dd-13 *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
.dd-13 ::selection { background: #1e293b; color: #f8fafc; }

.dd-13 {
  --text: #1e293b;
  --muted: #64748b;
  --surface: #fff;
  --border: #e2e8f0;
  font-family: 'Inter', sans-serif;
  min-height: 400px;
  background: #f8f7f4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dd-13__wrap {
  width: 100%;
  padding: 32px 20px 0;
  display: flex;
  justify-content: center;
}

.dd-13__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 720px;
  padding: 0 20px;
  position: relative;
  z-index: 100;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.dd-13__brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
  padding: 16px 0;
  margin-right: 24px;
}

.dd-13__items {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.dd-13__item { position: relative; }

.dd-13__trigger, .dd-13__plain {
  display: block;
  padding: 18px 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.dd-13__trigger:hover, .dd-13__item:hover .dd-13__trigger,
.dd-13__plain:hover { color: var(--text); }

/* mega panel */
.dd-13__mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 580px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.13);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    transform 0.32s cubic-bezier(0.16,1,0.3,1);
}
.dd-13__item:hover .dd-13__mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dd-13__visual {
  background: linear-gradient(145deg, #1e293b 0%, #334155 50%, #475569 100%);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
}

.dd-13__vis-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.dd-13__vis-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.dd-13__vis-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 4px;
  flex: 1;
}

.dd-13__vis-cta {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 8px;
  transition: color 0.15s;
}
.dd-13__vis-cta:hover { color: #fff; }

.dd-13__links {
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dd-13__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dd-13__group-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.dd-13__link {
  display: block;
  padding: 5px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  transition: color 0.15s;
}
.dd-13__link:hover { color: #0ea5e9; }

@media (prefers-reduced-motion: reduce) {
  .dd-13__mega { transition: none; }
}

How this works

The mega panel uses display: grid; grid-template-columns: 1.2fr 1fr to create a dominant visual column on the left and a links column on the right. The left panel contains a decorative gradient card with a large headline and a CTA link — essentially a mini editorial billboard. The right column uses nested sub-columns via another grid for organized link groups.

The entire panel is positioned absolutely from the trigger's parent item, then stretched to a fixed wide width via width: 600px; left: 50%; transform: translateX(-50%). The reveal combines opacity 0 → 1 with a translateY(-10px) → translateY(0) float, and both columns can receive staggered transition-delay for a sequential left-then-right appearance.

Customize

  • Swap the left column to a real image by replacing the gradient div with an img element: object-fit: cover; width: 100%; height: 100%.
  • Add animated stats or counters in the left panel — they become eye-catching focal points that make the mega menu feel like content, not just navigation.
  • Stagger the two columns by adding transition-delay: 0.05s to the right column so it fades in slightly after the left.
  • Change the grid ratio from 1.2fr 1fr to 2fr 1fr for a more image-dominant layout, or 1fr 2fr for more links.

Watch out for

  • Wide mega panels can overflow the viewport on smaller screens — clamp the panel width with max-width: min(600px, 90vw) and test at 768px.
  • The image/gradient left column needs a minimum height to look good — set min-height: 240px on the panel so it doesn't collapse when content is sparse.
  • Ensure the trigger item has enough width or the panel will render off-center — use viewport-aware centering with calc() if needed.

Browser support

ChromeSafariFirefoxEdge
57+ 10.1+ 52+ 57+

CSS Grid two-column mega layout is universally supported in modern browsers.

Search CodeFronts

Loading…