How to create a Portfolio Website with CSS Grid & Sass | Part 4.5: Some refactoring

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI6 min

About this video

In this short episode, the presenter refactors a Sass portfolio project by replacing two @extend rules with @mixin. The video is aimed at people building a CSS Grid site who want to use Sass more safely.

What you’ll learn

  • Replace Sass @extend rules with @mixin declarations
  • Refactor shared styles in a Sass portfolio project