DEV Community

Cover image for CSS Art: December - Galah Days of Summer
Naomi Justin
Naomi Justin

Posted on

CSS Art: December - Galah Days of Summer

This is a submission for Frontend Challenge - December Edition, CSS Art: December.

Inspiration

While going for an afternoon walk in Sydney during December as the summer holidays begin, I’ve noticed many galahs (pink and grey native cockatoos) playing and feeding their young. After a bit of research, I found that their mating season typically runs between July to December. With their beautiful vibrant colours and enjoying the warm afternoon strolls, galahs feel like an iconic part of an Australian Christmas.

Demo

Journey

  • I wanted to create something that would not only be aesthetic, but also playful that could highlight the playfulness of galahs in this season. I decided on creating a galah that would be eating a eucalyptus leaf.
  • To make up the elements of the bird, I used a combination of clip-path and border-radius to create the organic shapes and then used a container to store all the bird elements that would be able to transform the scale. For the container, I used relative and absolute position and centered this on the page. Then for all the elements inside the container I used different z-index values to layer them.
  • For the more complex shapes, I found a way to use stacking background colours for the shading with linear gradients and radial gradients.

Top comments (1)

Collapse
 
ross023 profile image
ross

nice