Bootstrap 5 Our Services Section (4 Modern Layouts)
A responsive services section shown in four layouts: a hairline grid with hover states, lifted cards, large numbered columns and photo tiles. Switch layouts with the pill tabs.
<section class="wdw-stage">
<div class="container" style="max-width:1080px">
<div class="text-center mb-5">
<span class="wdw-eyebrow">Our services</span>
<h2 class="wdw-heading display-6 mt-2 mb-2">Everything you need to launch</h2>
<p class="wdw-muted mx-auto mb-4" style="max-width:34rem">Four ways to present the same offer. Pick the layout that suits your page.</p>
<ul class="nav nav-pills justify-content-center gap-1 gap-sm-2 svc-tabs" role="tablist" aria-label="Layout variant">
<li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-3 px-sm-4 active" data-bs-toggle="pill" data-bs-target="#svc0" type="button" role="tab" aria-selected="true">Grid</button></li>
<li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-3 px-sm-4" data-bs-toggle="pill" data-bs-target="#svc1" type="button" role="tab" aria-selected="false">Cards</button></li>
<li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-3 px-sm-4" data-bs-toggle="pill" data-bs-target="#svc2" type="button" role="tab" aria-selected="false">Numbered</button></li>
<li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-3 px-sm-4" data-bs-toggle="pill" data-bs-target="#svc3" type="button" role="tab" aria-selected="false">Photo</button></li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade show active" id="svc0" role="tabpanel"><div class="svc-grid wdw-card overflow-hidden"><div class="row g-0">
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m16 18 6-6-6-6"/><path d="m8 6-6 6 6 6"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Web Development</h3><p class="wdw-muted small mb-0">Fast, accessible sites built on a clean component system.</p></a></div>
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z"/><circle cx="12" cy="13" r="3"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Photography</h3><p class="wdw-muted small mb-0">Editorial and product shoots with consistent art direction.</p></a></div>
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 19l7-7 3 3-7 7z"/><path d="m18 13-1.5-7.5L2 2l3.5 14.5L13 18z"/><path d="m2 2 7.6 7.6"/><circle cx="11" cy="11" r="2"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Graphic Design</h3><p class="wdw-muted small mb-0">Layouts, illustration and identity work that feels cohesive.</p></a></div>
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Social Media</h3><p class="wdw-muted small mb-0">Content calendars and campaigns that grow an audience.</p></a></div>
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Creative Writing</h3><p class="wdw-muted small mb-0">Clear, human copy for pages, emails and launches.</p></a></div>
<div class="col-12 col-sm-6 col-lg-4"><a href="#" class="svc-cell d-block h-100 p-4 p-lg-5 text-decoration-none"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis mb-2">Brand Creation</h3><p class="wdw-muted small mb-0">Naming, voice and visuals from first sketch to rollout.</p></a></div>
</div></div></div>
<div class="tab-pane fade" id="svc1" role="tabpanel"><div class="row g-4">
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m16 18 6-6-6-6"/><path d="m8 6-6 6 6 6"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Web Development</h3><p class="wdw-muted mb-3">Fast, accessible sites built on a clean component system.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z"/><circle cx="12" cy="13" r="3"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Photography</h3><p class="wdw-muted mb-3">Editorial and product shoots with consistent art direction.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 19l7-7 3 3-7 7z"/><path d="m18 13-1.5-7.5L2 2l3.5 14.5L13 18z"/><path d="m2 2 7.6 7.6"/><circle cx="11" cy="11" r="2"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Graphic Design</h3><p class="wdw-muted mb-3">Layouts, illustration and identity work that feels cohesive.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Social Media</h3><p class="wdw-muted mb-3">Content calendars and campaigns that grow an audience.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Creative Writing</h3><p class="wdw-muted mb-3">Clear, human copy for pages, emails and launches.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
<div class="col-12 col-md-6 col-lg-4"><div class="wdw-card-sm svc-card h-100 p-4"><span class="wdw-icon mb-3"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.85" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z"/></svg></span><h3 class="h5 fw-bold text-body-emphasis">Brand Creation</h3><p class="wdw-muted mb-3">Naming, voice and visuals from first sketch to rollout.</p><a href="#" class="link-primary fw-semibold small text-decoration-none">Learn more →</a></div></div>
</div></div>
<div class="tab-pane fade" id="svc2" role="tabpanel"><div class="row g-4">
<div class="col-12 col-md-4"><div class="wdw-card svc-num h-100 p-4 p-lg-5"><div class="svc-n">01</div><h3 class="h4 fw-bold text-body-emphasis mt-3">Web Development</h3><p class="wdw-muted mb-0">Fast, accessible sites built on a clean component system.</p></div></div>
<div class="col-12 col-md-4"><div class="wdw-card svc-num h-100 p-4 p-lg-5"><div class="svc-n">02</div><h3 class="h4 fw-bold text-body-emphasis mt-3">Photography</h3><p class="wdw-muted mb-0">Editorial and product shoots with consistent art direction.</p></div></div>
<div class="col-12 col-md-4"><div class="wdw-card svc-num h-100 p-4 p-lg-5"><div class="svc-n">03</div><h3 class="h4 fw-bold text-body-emphasis mt-3">Graphic Design</h3><p class="wdw-muted mb-0">Layouts, illustration and identity work that feels cohesive.</p></div></div>
</div></div>
<div class="tab-pane fade" id="svc3" role="tabpanel"><div class="row g-3">
<div class="col-12 col-sm-6 col-lg-3"><a href="#" class="svc-photo d-block position-relative overflow-hidden rounded-4 text-decoration-none" style="background-image:url(https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=600&q=70)"><span class="svc-photo-body"><span class="fw-bold fs-5 d-block">Web Development</span><span class="small opacity-75">Sites and apps</span></span></a></div>
<div class="col-12 col-sm-6 col-lg-3"><a href="#" class="svc-photo d-block position-relative overflow-hidden rounded-4 text-decoration-none" style="background-image:url(https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=600&q=70)"><span class="svc-photo-body"><span class="fw-bold fs-5 d-block">Photography</span><span class="small opacity-75">Shoots and retouching</span></span></a></div>
<div class="col-12 col-sm-6 col-lg-3"><a href="#" class="svc-photo d-block position-relative overflow-hidden rounded-4 text-decoration-none" style="background-image:url(https://images.unsplash.com/photo-1513735492246-483525079686?auto=format&fit=crop&w=600&q=70)"><span class="svc-photo-body"><span class="fw-bold fs-5 d-block">Graphic Design</span><span class="small opacity-75">Identity and layout</span></span></a></div>
<div class="col-12 col-sm-6 col-lg-3"><a href="#" class="svc-photo d-block position-relative overflow-hidden rounded-4 text-decoration-none" style="background-image:url(https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=600&q=70)"><span class="svc-photo-body"><span class="fw-bold fs-5 d-block">Social Media</span><span class="small opacity-75">Campaigns and content</span></span></a></div>
</div></div>
</div>
</div>
</section>
/* Web Designer Wall library style — shared base for every Bootstrap 5 snippet.
Indigo accent, Plus Jakarta Sans, soft cards, pill buttons. Works in light and dark. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root,
[data-bs-theme="light"] {
--wdw-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--bs-body-font-family: var(--wdw-font);
--bs-primary: #4f46e5;
--bs-primary-rgb: 79, 70, 229;
--bs-primary-text-emphasis: #3730a3;
--bs-primary-bg-subtle: #eef2ff;
--bs-primary-border-subtle: #c7d2fe;
--bs-link-color: #4f46e5;
--bs-link-color-rgb: 79, 70, 229;
--bs-link-hover-color: #4338ca;
--bs-link-hover-color-rgb: 67, 56, 202;
--bs-focus-ring-color: rgba(79, 70, 229, 0.25);
--bs-border-radius: 0.75rem;
--bs-border-radius-lg: 1rem;
--bs-border-radius-xl: 1.25rem;
--wdw-radius-card: 1.25rem;
--wdw-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 40px -16px rgba(16, 24, 40, 0.22);
--wdw-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px -4px rgba(16, 24, 40, 0.12);
--wdw-stage: #f5f6fb;
}
[data-bs-theme="dark"] {
--bs-primary: #818cf8;
--bs-primary-rgb: 129, 140, 248;
--bs-primary-text-emphasis: #c7d2fe;
--bs-primary-bg-subtle: rgba(129, 140, 248, 0.14);
--bs-primary-border-subtle: rgba(129, 140, 248, 0.35);
--bs-link-color: #a5b4fc;
--bs-link-color-rgb: 165, 180, 252;
--bs-link-hover-color: #c7d2fe;
--bs-link-hover-color-rgb: 199, 210, 254;
--bs-focus-ring-color: rgba(129, 140, 248, 0.35);
--wdw-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
--wdw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
--wdw-stage: #0f1117;
}
body { font-family: var(--wdw-font); -webkit-font-smoothing: antialiased; }
/* Bootstrap compiles its blue into these components; point them at the accent. */
.btn-primary {
--bs-btn-bg: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca;
--bs-btn-active-bg: #3730a3; --bs-btn-active-border-color: #3730a3;
--bs-btn-disabled-bg: var(--bs-primary); --bs-btn-disabled-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #0f1117; --bs-btn-hover-bg: #a5b4fc; --bs-btn-hover-border-color: #a5b4fc; --bs-btn-hover-color: #0f1117; --bs-btn-active-color: #0f1117; }
.btn-outline-primary {
--bs-btn-color: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: var(--bs-primary); --bs-btn-hover-border-color: var(--bs-primary);
--bs-btn-active-bg: var(--bs-primary); --bs-btn-active-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn { --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { min-height: 36px; }
.form-control, .form-select { min-height: 44px; border-radius: .75rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--bs-primary-rgb), .6); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-primary); }
.nav { --bs-nav-link-color: var(--bs-secondary-color); --bs-nav-link-hover-color: var(--bs-emphasis-color); }
.pagination { --bs-pagination-active-bg: var(--bs-primary); --bs-pagination-active-border-color: var(--bs-primary); --bs-pagination-color: var(--bs-body-color); --bs-pagination-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.progress, .progress-stacked { --bs-progress-bar-bg: var(--bs-primary); }
.list-group { --bs-list-group-active-bg: var(--bs-primary); --bs-list-group-active-border-color: var(--bs-primary); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--bs-primary); border-radius: .875rem; box-shadow: var(--wdw-shadow-sm); }
.accordion { --bs-accordion-active-bg: var(--bs-primary-bg-subtle); --bs-accordion-active-color: var(--bs-primary-text-emphasis); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.badge { font-weight: 600; }
/* Library building blocks — use these instead of re-inventing them per snippet. */
.wdw-stage { min-height: 100vh; display: flex; align-items: center; background: var(--wdw-stage); padding-block: 3rem; }
.wdw-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: var(--wdw-radius-card); box-shadow: var(--wdw-shadow); }
.wdw-card-sm { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: 1rem; box-shadow: var(--wdw-shadow-sm); }
.wdw-aurora { position: relative; color: #fff; background: radial-gradient(60% 55% at 100% 0, #818cf8 0, transparent 70%), radial-gradient(65% 60% at 0 100%, #ec4899 0, transparent 65%), #1e1b4b; }
.wdw-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-primary); }
.wdw-heading { font-weight: 800; letter-spacing: -.02em; color: var(--bs-emphasis-color); }
.wdw-muted { color: var(--bs-secondary-color); }
.wdw-icon { width: 2.75rem; height: 2.75rem; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: .875rem; background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }
/* Component */
.svc-grid .row > div { border-bottom: 1px solid var(--bs-border-color-translucent); }
.svc-grid .row > div:not(:nth-child(3n)) { border-right: 1px solid var(--bs-border-color-translucent); }
@media (max-width: 991.98px) {
.svc-grid .row > div { border-right: 0 !important; }
.svc-grid .row > div:nth-child(odd) { border-right: 1px solid var(--bs-border-color-translucent) !important; }
}
@media (max-width: 575.98px) { .svc-grid .row > div { border-right: 0 !important; } }
.svc-grid .row > div:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 991.98px) { .svc-grid .row > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--bs-border-color-translucent); } .svc-grid .row > div:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 575.98px) { .svc-grid .row > div:nth-last-child(2) { border-bottom: 1px solid var(--bs-border-color-translucent); } }
.svc-cell { transition: background-color .2s ease; }
.svc-cell:hover { background: var(--bs-primary-bg-subtle); }
.svc-cell .wdw-icon { transition: background-color .2s, color .2s, transform .2s; }
.svc-cell:hover .wdw-icon { background: var(--bs-primary); color: #fff; transform: translateY(-2px); }
[data-bs-theme="dark"] .svc-cell:hover .wdw-icon { color: #0f1117; }
.svc-card { transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--wdw-shadow); }
.svc-n { font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--bs-primary); opacity: .9; }
.svc-num { transition: transform .2s ease; }
.svc-num:hover { transform: translateY(-4px); }
.svc-photo { aspect-ratio: 4/5; background-size: cover; background-position: center; color: #fff; }
.svc-photo::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,17,23,.05) 30%, rgba(15,17,23,.8)); transition: opacity .2s; }
.svc-photo-body { position:absolute; left:1.25rem; right:1.25rem; bottom:1.25rem; }
.svc-photo { transition: transform .3s ease; }
.svc-photo:hover { transform: scale(1.015); }
.svc-tabs .nav-link { min-height: 44px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .svc-card, .svc-num, .svc-photo, .svc-cell * { transition: none !important; } }
// Layout tabs use Bootstrap's built-in pill tabs; nothing extra needed.
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.