A tiny Christmas tree for the corner of your website

Pick a tree, copy one snippet, paste it into your site. It stays for the Christmas season, then puts itself away.

  1. 1Pick a tree
  2. 2Copy the code
  3. 3Paste it in
your-blog.dev
Merry Christmas!
It sits right here

Step 1Pick a tree

Step 2Set it up

This is the real thing running on a pretend page. Travel through the season with the timeline, and click the tree for snow.

your-blog.dev
Corner
Size
Movement
Greeting bubble

Off unless you turn it on. When on, it shows for a few seconds as the page opens, then on hover.

On show
fromat
untilat

Any dates and times you like. It repeats every year, by each visitor's own clock.

Snow when the tree is clicked
Through December

Step 3Copy the code

Paste it just before </body>, or into the "custom code" or "footer scripts" box of your site builder.


    

What it does through the season

You paste it once. The tree keeps its own calendar, by each visitor's date.

  1. The tree goes upIt appears in its corner, lights on. December 1 unless you pick another day.
  2. It counts the days"Christmas in 12 days!", in the visitor's language.
  3. Presents pile upA new one appears under the tree on each of these days.
  4. Santa flies byA little sleigh flies over the tree, once per visit.
  5. Merry ChristmasThe presents are opened, the tree sparkles and snow falls on it all day.
  6. Happy New YearThe greeting changes for the new year.
  7. Back in the atticGone until next year. January 6 is the last day unless you pick another.

What you are pasting

  • No tracking, no cookies, no dependencies. The self-contained snippet makes no network requests: the drawing is inside it.
  • Greets visitors in their language.
  • Isolated in a shadow root. Your CSS cannot bend it and it cannot touch yours.
  • Polite. Nothing moves under prefers-reduced-motion. It shrinks on phones and is hidden in print.
  • Original drawings. Plain SVG you can open, recolor and keep.
  • MIT licensed. Free for personal and commercial sites.