Brutalist sharp-edged cards
Three brutalist service cards: one-pixel border, hard offset shadow that lifts on hover and sinks on click, large type, accent and dark variants. No JavaScript.
- Tailwind
- React
- CSS
- WordPress
Description
Each card presents an offer with a large number, a tag, an uppercase title, text, a price, a lead time and a button. The shadow is a flat offset block with no blur: it grows when the card is hovered or its button gets focus, then the card sinks onto its shadow on click, like a key. Three variants are picked with a class (--default, --accent, --inverse) that only changes colour variables: the inverse card is dark in the light theme and light in the dark theme. The shadow offset (--cbn-offset), border width (--cbn-border) and fonts are set at the top of the file. Keyboard focus is a thick outline whose colour adapts to each background, contrast meets AA in light and dark themes, buttons are 48 px tall, the layout holds from 360 px and prefers-reduced-motion removes every transition.
Code
Loading the code…
The code of this component in
Archive contents
cartes-brutalistes-bordure-nette-html-tailwind.zip3 files · 5 Ko
- index.html11 Ko
- README.md4 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

Link in bio page
FreeA mobile page to link from your social profiles: portrait, name, priority links (booking, WhatsApp, website, reviews, call), opening hours with an open or closed status, social links and a share button, in dependency-free HTML and CSS.
- Tailwind
- React
- CSS
- WordPress

A single-plan pricing card: struck-through price and discount, a places-left gauge driven by a data attribute, the list of everything included and a booking button that turns into a waiting list once sold out.
- Tailwind
- React
- CSS
- WordPress

Three treatment cards in accessible neumorphism: gently raised surfaces, buttons that sink in when activated, a light/dark switch for the block itself. 3:1 outlines and AA text kept.
- Tailwind
- React
- CSS
- WordPress

Four fully clickable workshop cards in a neo-brutalist style: thick border, solid offset shadow and a card that sinks onto its shadow on hover or focus. Pastel tones, dark mode, no JavaScript.
- Tailwind
- React
- CSS
- WordPress