There are a lot of magic numbers in this, but that’s okay. It’s not a production-level thing. I’m utilizing radial gradients to achieve the panels on his body and linear ones for the lines on his head & body. The second camera/eye is a box-shadow of the main eye.

Next up: animation! I want him to peek around the left side of the screen, roll to the center, look behind him and then dash forward. Such a complicated animation requires some thinking though, and I need to see if I can do it all in CSS/SCSS. I’m sure I can, but at what price!?

See the Pen Pure CSS BB-8 by Smokie Lee (@xtoq) on CodePen.

  1. Williamgede
    Jun 07, 2016

    Have a great day! Herrara