Sorry, this video is for subscribers only.

Click here to subscribe!

Challenges of CSS Reuse

It’s time to refactor the CSS for our clear button. This one is particularly interesting because it’s simultaneously an element inside our drawing area and a type of button. There’s an opportunity here to factor out the commonalities between the two buttons... but how can we do it cleanly?

comments powered by Disqus