Web design styles - retro and nostalgia
Cyberpunk web design
Cyberpunk web design borrows from science fiction about high-tech, low-life futures: neon yellow, cyan and magenta on black, glitch effects, scan lines, monospace type and panels with sharp, cut-off corners like a heads-up display. It’s popular with gaming, esports, music and tech brands that want to feel edgy and futuristic.
A live example
This sample page is built with this page’s own CSS, cut corners included. Switch to the common mistake to see how glitch effects and clipped shapes cause problems.
Spring trips
Plan your next weekend away
Pick a city, choose your dates and we’ll put the whole trip in one place.
Stays
Hotels and flats near where you’ll be. Pick by area, price or how close you are to the station.
Find a stayDone well: cut corners on panels and buttons, the glitch effect kept to the headline, and focus outlines that appear in full because the clip is removed on focus.
What makes it cyberpunk
Neon on black
Yellow, cyan and magenta on near-black.
#f9f002, #00f0ff, #ff2a6dCut corners
Panels and buttons with clipped, angled corners.
clip-path: polygon()Glitch effects
Split colour channels, scan lines and flicker.
text-shadow: 2px 0, -2px 0HUD type
Monospace, uppercase labels and technical readouts.
text-transform: uppercaseThe CSS
The cut corner is a clip-path polygon. Clip-path also cuts off focus outlines, so the snippet removes the clip on focus, and the glitch respects reduced motion.
/* A panel with cut corners */
.hud-panel {
background: #13131c;
border: 1px solid #00f0ff;
clip-path: polygon(
0 0, calc(100% - 18px) 0, 100% 18px,
100% 100%, 18px 100%, 0 calc(100% - 18px)
);
}
.neon-button {
background: #f9f002;
color: #0a0a0f;
text-transform: uppercase;
letter-spacing: 0.08em;
clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
/* Clip-path hides outlines, so remove it on focus */
.neon-button:focus-visible {
clip-path: none;
outline: 2px solid #ffffff;
outline-offset: 2px;
}
/* A glitch, on headlines only */
.glitch {
color: #f9f002;
text-shadow: 2px 0 #ff2a6d, -2px 0 #00f0ff;
animation: glitch 3s steps(1) infinite;
}
@keyframes glitch {
0%, 96%, 100% { transform: none; }
97% { transform: translateX(2px); }
98% { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) {
.glitch { animation: none; }
}Tuning the values
| Property | A good starting range | What goes wrong outside it |
|---|---|---|
| Cut corner size | 8px to 20px | Bigger cuts start clipping text and icons. |
| Glitch offset | 1px to 2px | More and the text becomes hard to read. |
| Glitch frequency | A brief jump every few seconds | Constant flicker is distracting and can be a problem for some people. |
| Neon colours | 2 or 3 | All the neons at once look like a fairground. |
When it works
- Gaming, esports and streaming.
- Music, events and nightlife.
- Tech launches that want to feel futuristic.
When to avoid it
- Everyday tools and long reading.
- Brands that need to feel calm or trustworthy.
- Audiences sensitive to flashing or flickering.
Motion and safety
Glitch effects without the headache
Glitches, flicker and scan lines are central to the look, and they’re also the parts most likely to cause problems. Flashing content can trigger seizures in some people, and constant motion makes reading hard for many more.
Never flash more than 3 times a second
That’s the WCAG limit for flashing content. Most glitch effects should be far slower.
Glitch headlines, not paragraphs
Split colour channels make body text blur. Keep them to a few big words.
Respect reduced motion
Stop glitches, scan lines and flicker for people who’ve asked for reduced motion.
Make it occasional
A glitch that happens every few seconds is more striking than one that never stops.
What to check when you review a cyberpunk site
Cyberpunk mixes effects and clipped shapes, so the checks are about motion, focus and readability.
:focus-visible1. Focus outlines cut off
Clip-path hides focus outlines. Tab through and check every control shows a full outline.
.glitch2. Flashing
Check nothing flashes more than 3 times a second.
@media (prefers-reduced-motion)3. Reduced motion
Check glitches, scan lines and flicker stop for people who prefer reduced motion.
p4. Glitch on body text
Check paragraphs have no split-colour shadows and aren’t tiny uppercase.
.hud-panel5. Clipped content
Check cut corners don’t clip text, icons or badges, especially with longer copy.
a6. Links
Check links are clearly different from the many coloured labels.
font-family: monospace7. Monospace text
Check long passages aren’t in small monospace type.
img, video8. Background video
Check background loops are compressed, muted and can be paused.
Reviewing with clients
Notes on exactly where the effects get too much
Motion problems are hard to describe in an email and impossible to see in a screenshot. A note pinned to the element at least tells you which one. With ClickNote, clients click directly on elements of the website and leave a note, without creating an account or installing a browser extension.
Send your client a review link for the page.
They click the element that’s hard to read or uncomfortable to look at, and say what’s wrong.
You get the selector, a screenshot and their device, so you can go straight to the right rule in your CSS.
When I tab to this link I can’t see the outline properly.
desktop · Firefox on Windows - 1920 x 1080
.d-card.c2 > .d-linkReviewing a site in one of these styles?
Send your client a review link and they can click directly on elements of the website and leave a note, without creating an account or installing a browser extension. You get the selector, a screenshot and their device with every note.
14-day free trial. No card needed. See pricing.