Working modularly in CSS is smart. It allows us to be DRY in our approach to styling a page or element. What does that have to do with box-shadow? Let’s look at an example to see how we can avoid duplicating lines of code with this simple box-shadow color hack.