Skip to main content

Building a better burger with HTML and CSS

McDonald's has certainly not been afraid to push the envelope on the web. A case in point is its contest site, My Burger, developed by digital agency Cartelle Interactive in collaboration with Razorfish London.

The 'burger builder' tool lets users build their perfect burger – with the winner's creation finding its way onto the menu.

Johnny Slack, partner and development lead at Cartelle, said it was a challenge to condense the features down to a fun and simple form. He recalls, "The playstation interface was used as a reference quite a bit in the earlier stages of the UI – how it snaps and moves."

The clever animation effects relied on some smart work with libraries.

The clever animation effects relied on some smart work with libraries.

The site's animation is particularly impressive. For this, Cartelle used libraries by Greensock, including TweenMax, Draggable and ThrowPropsPlugin – its weapons of choice for Tweening and momentum-based animation.

"We're very focused on craft," says Slack, "and we try to remove as much static as we can from the equation until we're down to what's essential for making a mint interactive product."

Words: Geri Coady

Geri Coady is a colour-obsessed freelance illustrator and web designer, author of A Pocket Guide to Colour Accessibility and net's Designer of the Year 2014. Follow her on Twitter at @hellogeri.

Liked this? Read this!

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began over a decade ago. The current website team consists of five people: Editor Kerrie Hughes (currently on maternity leave), Acting Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, and Staff Writer Amelia Bamsey. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.