A walkthrough of the Don't Repeat Yourself principle in CSS, with practical examples of reducing repeated code and a button hover effect to try. It is aimed at people who already write HTML and CSS.
What you’ll learn
✓Reduce repeated CSS rules by reusing shared declarations
✓Apply DRY principles to keep stylesheets faster to write