Merry Christmas with a Bursting Gift Box

The Codrops team wishes everybody a Merry Christmas and a happy new year! A big “Thank You” from us in form of a little demo with a bursting animated gift box and some flying icons.

The Codrops team wishes everybody a Merry Christmas and a wonderful new year! We’ve created a little demo with a little animated gift for you that will burst open and let some icons out 🙂

The idea is from the fabulous Free Icons [gif] by Gimpo Studio (Nick & Oksana), the creators of Small Icons.

The beautiful SVG Christmas Icons used in the demo are from WebAppers and they were designed by the team behind FreePic.

The background image in the demo is from DragonArtz Designs.

MerryChristmasCodrops02

A bit about the demo and how we did it: There are two main elements, the gift box and the icon grid which also contains the letter spans of the “Merry Christmas” words. The main idea is to add step classes to the wrapper “merrywrap” that control the animation for the gift box (the wobbling) and the transitions of the icon spans. Each icon is actually an SVG and we’ve used the Google Web font Peralta for the letters.

MerryChristmasCodrops03

In step 1 we animate the gift box. The, in step 2, we make the cover and the lower part of the gift box fly away and release the icons which were all translated from a grid to a single point where the box is. The icons get animated outside of the main wrapper and then in step 3, we let them fall down to their original position in the grid. The last step will make them fall, all with different transition delays.

Please note that we did not provide a fallback for this demo, so modern browsers only!

MerryChristmasCodrops04

We hope you enjoy this little demo! Merry Christmas, dear readers, and a happy new year from your Codrops team! Thank you for all your support, your feedback and your love <3

Manoela Ilic

Manoela is the main tinkerer at Codrops. With a background in coding and passion for all things design, she creates web experiments and keeps frontend professionals informed about the latest trends.

Stay in the loop: Get your dose of frontend twice a week

👾 Hey! Looking for the latest in frontend? Twice a week, we'll deliver the freshest frontend news, website inspo, cool code demos, videos and UI animations right to your inbox.

Zero fluff, all quality, to make your Mondays and Thursdays more creative!

Feedback 31

Comments are closed.
  1. Just awesome, thanks for sharing!

    Can you please tell me if I can use this demo on site of game development studio as a special NY page? I mean not technically but legal issues.

    • Beautiful.
      You can add a site joomla 3>? Where can I find documentation for how to proceed?
      Thank you

  2. Another great and creative demo, ML. I thank you for all for the wonderful inspirations and wish you a very happy holidays.

  3. Thank you for the inspiration throughout the year – it is much appreciated.
    Hope you all have a good day.

  4. Nice Design as well as nice concept and animations. Wondering how you do that 😛

  5. Cute, and clever!
    Merry Christmas to you too, and Happy New Year to all your team!
    And thanks again and again for the amazing material you upload weeks after weeks.

  6. Mary Christmas!!!!
    thank you for all the inspiration and help in this year, im really grateful for everything that you give us !!!

  7. Spectacular demo! You guys have been amazing and inspiring us all year long. Merry (belated) Christmas and Happy New Year!

  8. Hi Mary Lou
    Love this…just found it. 🙂 Did have 1 question…I love the snow. Is there a way to just use the falling snow on a webpage ? Thinking maybe I could add the falling snow to my home page this Christmas. 🙂

    Thanks for all these articles and tutorials. We lurkers do read and appreciate them (once we find them).
    Paul

  9. I liked this demo very much….. can we customize the alphabet “MERRY CHRISTMAS” to our own words?