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
If you listen carefully, you can hear the 1s and 0s flowing in your computer.
Total Lab Runtime: 01:05:26