Fun shadow coding challenge

Timehop just reminded me of this prototype I made 8 years ago. Scroll it and you’ll see that the central light source (orange line) affects the shadow.

CSS has come on a lot in those 8 years, so could you do better? Would love to see it, so let me know if you do.

👋 Hello, I’m Andy and this is my little home on the web.

I’m the founder of Set Studio, a creative agency that specialises in building stunning websites that work for everyone and Piccalilli, a publication that will level you up as a front-end developer.

I’ve also got a CSS course called Complete CSS to help you get to a level in development that you never thought would be possible.