A good friend of mine, Laurent Brucher was tasked to interview a candidate with regards to his front end skills. We talked for a while, shared ideas and in the end he came up with a clever challenge for the candidate to code out.
Inspired in his challenge I’ve crated this one below
Create a JS fiddle with your solution. Use only HTML and CSS
Whom ever uses less classes and less attributes will be declared the winner.
3 thoughts on “CSS Challenge”
Christian asked me to take this up…I had emailed the solution to him. But, just in case, here is my Fiddle – http://jsfiddle.net/adityadineshsaxena/cVJRG/
Btw, interesting problem as it is quite easy to miss out on any of the minor elements in the PIE 🙂
Nice Aditya! Thanks for contributing =) need to think up more complicated ones
So technically I would prefer to use clip to make pie, but given you have some shadows, I did what Aditya did :).
As the solution is for this scenario and this scenario only I have not used any class.