Create a Custom Grid System with CSS Calc() and Sass

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI14 min

About this video

A walkthrough of using CSS calc() to build a custom grid system, then using Sass and @for to generate the same grid in a few lines of code. It is aimed at front-end developers and designers who write their own CSS.

What you’ll learn

  • Build a custom CSS grid system using calc()
  • Generate grid column classes with a Sass @for loop