Bootstrap 5 Retro Badge Logos in Pure CSS
Three retro badge logos built entirely from CSS: a wordmark on a folded ribbon with flanking rules, a circular seal and a shield with a stamp.
<section class="wdw-stage">
<div class="container" style="max-width:1040px">
<div class="text-center mb-4 mb-lg-5">
<span class="wdw-eyebrow">Brand marks</span>
<h1 class="wdw-heading h2 mt-1 mb-2">Retro badge logos in pure CSS</h1>
<p class="wdw-muted mb-0">A folded ribbon, a circular seal and a shield. No images, and they recolour with the theme.</p>
</div>
<div class="row g-3 g-lg-4" role="group" aria-label="Three retro badge logos">
<div class="col-md-4">
<figure class="wdw-card d-flex flex-column align-items-center justify-content-center text-center p-4 h-100 mb-0 wdw-tile">
<div class="wdw-mark wdw-mark-ribbon d-flex flex-column align-items-center gap-2" role="img" aria-label="American Restaurant, established 1977">
<span class="wdw-name fw-bolder text-uppercase text-body-emphasis" aria-hidden="true">American</span>
<span class="wdw-ribbon fw-bold text-uppercase" aria-hidden="true">Restaurant</span>
<span class="wdw-rules d-flex align-items-center gap-2 fw-bold text-uppercase text-body-emphasis" aria-hidden="true"><i></i>Est. 1977<i></i></span>
</div>
<figcaption class="wdw-eyebrow mt-4">Ribbon wordmark</figcaption>
</figure>
</div>
<div class="col-md-4">
<figure class="wdw-card bg-primary text-white d-flex flex-column align-items-center justify-content-center text-center p-4 h-100 mb-0 wdw-tile" style="--bs-card-bg:var(--bs-primary)">
<div class="wdw-mark wdw-seal d-flex flex-column align-items-center justify-content-center" role="img" aria-label="Nightbridge High School, established 1977">
<span class="wdw-star-sm" aria-hidden="true"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z"/></svg></span>
<span class="wdw-name fw-bolder text-uppercase" aria-hidden="true">Nightbridge</span>
<span class="wdw-band fw-bold text-uppercase" aria-hidden="true">High School</span>
<span class="wdw-est fw-bold text-uppercase" aria-hidden="true">Est. 1977</span>
</div>
<figcaption class="wdw-eyebrow mt-4 text-white opacity-75">Circular seal</figcaption>
</figure>
</div>
<div class="col-md-4">
<figure class="wdw-card wdw-aurora d-flex flex-column align-items-center justify-content-center text-center p-4 h-100 mb-0 wdw-tile" style="border:0">
<div class="wdw-mark wdw-shield d-flex flex-column align-items-center justify-content-center" role="img" aria-label="Junction Riverside, established 1977">
<span class="wdw-shield-in d-flex flex-column align-items-center justify-content-center" aria-hidden="true">
<span class="wdw-est fw-bold text-uppercase">Est. 1977</span>
<span class="wdw-name fw-bolder text-uppercase">Junction</span>
<span class="wdw-stamp fw-bold text-uppercase">Riverside</span>
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z"/></svg>
</span>
</div>
<figcaption class="wdw-eyebrow mt-4 text-white opacity-75">Shield and stamp</figcaption>
</figure>
</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 */
.wdw-tile { min-height: 400px; transition: transform .25s; }
.wdw-tile:hover { transform: translateY(-4px); }
.wdw-name { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.wdw-est { font-size: .72rem; letter-spacing: .3em; }
/* 1. folded ribbon */
.wdw-mark-ribbon { width: 100%; }
.wdw-ribbon { position: relative; isolation: isolate; padding: .55rem 2.25rem; background: var(--bs-primary); color: #fff; font-size: .95rem; letter-spacing: .28em; }
[data-bs-theme="dark"] .wdw-ribbon { color: #0f1117; }
.wdw-ribbon::before, .wdw-ribbon::after { content: ""; position: absolute; z-index: -1; top: .65rem; width: 2rem; height: 100%; background: color-mix(in srgb, var(--bs-primary) 65%, #000); }
.wdw-ribbon::before { left: -1.35rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, .8rem 50%); }
.wdw-ribbon::after { right: -1.35rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 100% 100%, calc(100% - .8rem) 50%); clip-path: polygon(0 0, 100% 0, calc(100% - .8rem) 50%, 100% 100%, 0 100%); }
.wdw-ribbon > * { position: relative; }
.wdw-rules { margin-top: .9rem; font-size: .72rem; letter-spacing: .3em; width: 100%; max-width: 240px; }
.wdw-rules i { flex: 1; height: 0; border-top: 2px solid var(--bs-primary); }
/* 2. circular seal */
.wdw-seal { position: relative; width: 250px; height: 250px; border-radius: 50%; border: 4px solid #fff; padding: 1.5rem; gap: .35rem; }
.wdw-seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.7); pointer-events: none; }
.wdw-seal .wdw-name { font-size: 1.65rem; }
.wdw-band { margin-inline: -1.5rem; align-self: stretch; padding: .3rem 0; background: #fff; color: var(--bs-primary); font-size: .8rem; letter-spacing: .25em; }
[data-bs-theme="dark"] .wdw-band { color: #0f1117; }
.wdw-star-sm { line-height: 0; }
/* 3. shield */
.wdw-shield { position: relative; width: 230px; height: 270px; background: rgba(255,255,255,.9); clip-path: polygon(0 0, 100% 0, 100% 55%, 88% 74%, 50% 100%, 12% 74%, 0 55%); }
.wdw-shield-in { position: absolute; inset: 6px; gap: .3rem; padding-bottom: 1.5rem; background: #1e1b4b; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 55%, 88% 74%, 50% 100%, 12% 74%, 0 55%); }
.wdw-shield .wdw-name { font-size: 1.7rem; }
.wdw-stamp { padding: .2rem .8rem; border: 2px solid currentColor; border-radius: .4rem; font-size: .75rem; letter-spacing: .25em; transform: rotate(-4deg); }
@media (prefers-reduced-motion: reduce) { .wdw-tile { transition: none; } }
.wdw-mark { position: relative; }
// Pure CSS logos: no script needed.
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.