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 (opens in new tab), developed by digital agency Cartelle Interactive (opens in new tab) in collaboration with Razorfish London (opens in new tab).

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 (opens in new tab)is a colour-obsessed freelance illustrator and web designer, author of A Pocket Guide to Colour Accessibility (opens in new tab) and net's Designer of the Year 2014. Follow her on Twitter at @hellogeri (opens in new tab).

Liked this? Read this!

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.