Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Elements Part 2
Lab: Part 2j – Base & Common Classes Sass Modules – Developer’s Genesis Starter Child Theme
Video Runtime: 10:07
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 box-sizing()
.
Who needs copy/paste? Right. Writing code from scratch is fun!
Episodes
Total Lab Runtime: 01:05:26
- 1 Lab Introductionfree 00:50
- 2 Common Classes Part 1pro 14:20
- 2 Common Classes Part 2pro 12:48
- 4 Elements Part 1pro 16:38
- 5 Elements Part 2pro 10:07
- 6 Media Queriespro 08:39
- 7 Git Commitpro 02:04