Hanging shop sign
A shop sign hung on two chains swings gently, in pure CSS, for a warm shop header.
- Tailwind
- React
- CSS
- WordPress
Description
The shop name is painted on a sign hung from a bar by two chains; it swings a few degrees around its anchor point, like a real sign in the breeze. The effect instantly gives a craft or neighbourhood-shop feel to the header of a bakery, café, bookshop or barber. The heading is a real h2, readable while it moves with AA contrast in light and dark mode; the bar and chains are decorative and hidden from screen readers. Only one property is animated (transform: rotate), the amplitude is set in the efes-swing animation and the speed with --efes-duration. The chains are drawn with a repeated gradient, with no image. With prefers-reduced-motion the sign stays still. No horizontal scrolling from 360 px.
Code
Loading the code…
The code of this component in
Reviews
No reviews yet.
In the same spirit

A large heading whose words turn from grey to ink as the page scrolls, then whose key phrases get a marker stroke, in pure CSS with a readable fallback.
- Tailwind
- React
- CSS
- WordPress

Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.
- Tailwind
- React
- CSS
- WordPress

A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.
- Tailwind
- React
- CSS
- WordPress

A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress