Candle flame
A candle whose flame flickers and whose glow pulses, for the cosy mood of a spa, a restaurant or a candle shop.
- Tailwind
- React
- CSS
- WordPress
Description
Next to the text, a candle drawn entirely in CSS: wax with gradient highlights, a wick, a teardrop flame going white, yellow then orange. The flame flickers irregularly (stretching, slight tilts around its base) and the glow pulses on a different rhythm, so the whole never feels mechanical. Only the flame’s transform and the glow’s opacity are animated, with no image or script; the candle is decorative and hidden from screen readers. The section keeps a dark mood in both light and dark mode, with AA text contrast and a clearly visible booking button. With prefers-reduced-motion the flame shines without moving. Two-column layout, the candle moving above the text on phones.
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