Let’s talk about how to automatically calculate the different font sizes using the base font size and a Bourbon mixin called
modular-scale. You can see an example of how I do it in my Hello child theme. When using modular scale, you have various predefined variables available to you from the Bourbon library. You can check those out here.
Next you’ll refactor the box sizing to use the mixin
Who needs copy/paste? Right. Writing code from scratch is fun!
Total Lab Runtime: 01:05:26