Sass - Style a Website
This course covers the basics of styling a website using Sass. Work your way through the videos and we'll teach you everything you need to know to style a basic website!

Mixins

Lesson 9
Author : Mike Dane
Last Updated : October, 2017


Code

Copy@mixin fancy-border($size: 1px, $color: black) {
     border: $size dashed $color;
     border-radius: 5px;
}

header {
     @include fancy-border(10px, blue);
     background-color: yellow;
}