Drawing a Lego brick with HTML & CSS3

I wanted to challenge myself to draw something with CSS, using some properties at my disposal from CSS3 like gradients, rotation, skew and border-radius. I needed something relatively simple to attempt to draw, and as I frequently think about toys, a Lego brick seemed a good option 🙂

Continue reading Drawing a Lego brick with HTML & CSS3