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

Mixins

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


Code

Copy.fancy-border(@size: 1px, @color: black) {
     border: @size dashed @color;
}

.fancier-border {
     .fancy-border(10px, blue);
     background-color: yellow;
     border-radius: 5px;
}